#3F145C#3F145C

#3F145C is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.123 H 307.8°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#3F145C
RGBrgb(63, 20, 92)
HSLhsl(276, 64%, 22%)
HSVhsv(276, 78%, 36%)
CMYKcmyk(31.5%, 78.3%, 0%, 63.9%)
CIE-LABlab(17.13, 34.40, -34.15)
CIE-LCHlch(17.13, 48.48, 315.21°)
OKLaboklab(30.1% 0.0752 -0.0969)
OKLCHoklch(30.1% 0.123 307.8)
XYZxyz(4.2314, 2.3298, 10.3499)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F145C #315C14
analogous
#1B145C #3F145C #5C1455
triadic
#3F145C #5C3F14 #145C3F
tetradic
#3F145C #5C1B14 #315C14 #14555C
square
#3F145C #5C1B14 #315C14 #14555C
split-complementary
#3F145C #555C14 #145C1B
monochromatic
#110519 #1D092A #3F145C #611F8E #842AC1

Accessibility & contrast

On white

14.32
#3F145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3F145C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F145C
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F145C#FFFFFF#000000##FFFFFF
##3F145C1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#002B5A
Tritanopia (blue-blind)
#3A2537
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3f145c;
/* rgb */ color: rgb(63, 20, 92);
/* oklch */ color: oklch(30.1% 0.123 307.8);
Tailwind
colors: {
  custom: {
    50: '#77568b',
    500: '#3f145c',
    950: '#000000',
  },
}
SCSS
$custom: #3f145c;
$custom-light: #77568b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f145c",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 275.833,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30096,
    "c": 0.12268,
    "h": 307.8
  },
  "luminance": 0.0233
}

Semantic roles & 50–950 ramp

primary
#3F145C
secondary
#5D9438
accent
#E74184
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F145C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3F145C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva