#3F0B4B#3F0B4B

#3F0B4B is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.116 H 319.1°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#3F0B4B
RGBrgb(63, 11, 75)
HSLhsl(289, 74%, 17%)
HSVhsv(289, 85%, 29%)
CMYKcmyk(16%, 85.3%, 0%, 70.6%)
CIE-LABlab(14.42, 34.24, -26.98)
CIE-LCHlch(14.42, 43.59, 321.76°)
OKLaboklab(27.75% 0.0877 -0.0758)
OKLCHoklch(27.75% 0.116 319.1)
XYZxyz(3.4394, 1.8043, 6.8223)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0B4B #174B0B
analogous
#1F0B4B #3F0B4B #4B0B37
triadic
#3F0B4B #4B3F0B #0B4B3F
tetradic
#3F0B4B #4B1F0B #174B0B #0B374B
square
#3F0B4B #4B1F0B #174B0B #0B374B
split-complementary
#3F0B4B #374B0B #0B4B1F
monochromatic
#16041B #16041B #3F0B4B #6C1380 #991BB6

Accessibility & contrast

On white

15.43
#3F0B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3F0B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0B4B
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0B4B#FFFFFF#000000##FFFFFF
##3F0B4B1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#10264A
Tritanopia (blue-blind)
#3F192B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f0b4b;
/* rgb */ color: rgb(63, 11, 75);
/* oklch */ color: oklch(27.8% 0.116 319.1);
Tailwind
colors: {
  custom: {
    50: '#77517e',
    500: '#3f0b4b',
    950: '#000000',
  },
}
SCSS
$custom: #3f0b4b;
$custom-light: #77517e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0b4b",
  "rgb": {
    "r": 63,
    "g": 11,
    "b": 75
  },
  "hsl": {
    "h": 288.75,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27751,
    "c": 0.11588,
    "h": 319.1
  },
  "luminance": 0.01804
}

Semantic roles & 50–950 ramp

primary
#3F0B4B
secondary
#3C872B
accent
#F1375A
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3F0B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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