#3F0B4D#3F0B4D

#3F0B4D is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.9% C 0.118 H 317.8°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#3F0B4D
RGBrgb(63, 11, 77)
HSLhsl(287, 75%, 17%)
HSVhsv(287, 86%, 30%)
CMYKcmyk(18.2%, 85.7%, 0%, 69.8%)
CIE-LABlab(14.58, 34.68, -28.11)
CIE-LCHlch(14.58, 44.64, 320.97°)
OKLaboklab(27.91% 0.0873 -0.0791)
OKLCHoklch(27.91% 0.118 317.8)
XYZxyz(3.5089, 1.8321, 7.1885)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0B4D #194D0B
analogous
#1E0B4D #3F0B4D #4D0B3A
triadic
#3F0B4D #4D3F0B #0B4D3F
tetradic
#3F0B4D #4D1E0B #194D0B #0B3A4D
square
#3F0B4D #4D1E0B #194D0B #0B3A4D
split-complementary
#3F0B4D #3A4D0B #0B4D1E
monochromatic
#16041B #16041B #3F0B4D #6B1383 #971AB8

Accessibility & contrast

On white

15.37
#3F0B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3F0B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0B4D
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0B4D#FFFFFF#000000##FFFFFF
##3F0B4D1.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#0E264C
Tritanopia (blue-blind)
#3E1A2C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f0b4d;
/* rgb */ color: rgb(63, 11, 77);
/* oklch */ color: oklch(27.9% 0.118 317.8);
Tailwind
colors: {
  custom: {
    50: '#77517f',
    500: '#3f0b4d',
    950: '#000000',
  },
}
SCSS
$custom: #3f0b4d;
$custom-light: #77517f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0b4d",
  "rgb": {
    "r": 63,
    "g": 11,
    "b": 77
  },
  "hsl": {
    "h": 287.273,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2791,
    "c": 0.11783,
    "h": 317.8
  },
  "luminance": 0.01832
}

Semantic roles & 50–950 ramp

primary
#3F0B4D
secondary
#3F892B
accent
#F2365E
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3F0B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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