#3F0B3F#3F0B3F

#3F0B3F is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.104 H 328.0°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#3F0B3F
RGBrgb(63, 11, 63)
HSLhsl(300, 70%, 15%)
HSVhsv(300, 83%, 25%)
CMYKcmyk(0%, 82.5%, 0%, 75.3%)
CIE-LABlab(13.56, 31.75, -19.97)
CIE-LCHlch(13.56, 37.51, 327.83°)
OKLaboklab(26.86% 0.0886 -0.0553)
OKLCHoklch(26.86% 0.104 328)
XYZxyz(3.0667, 1.6552, 4.8596)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0B3F #0B3F0B
analogous
#250B3F #3F0B3F #3F0B25
triadic
#3F0B3F #3F3F0B #0B3F3F
tetradic
#3F0B3F #3F250B #0B3F0B #0B253F
square
#3F0B3F #3F250B #0B3F0B #0B253F
split-complementary
#3F0B3F #253F0B #0B3F25
monochromatic
#1A051A #1A051A #3F0B3F #731473 #A71DA7

Accessibility & contrast

On white

15.78
#3F0B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3F0B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0B3F
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0B3F#FFFFFF#000000##FFFFFF
##3F0B3F1.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031E40
Deuteranopia (green-blind)
#19253E
Tritanopia (blue-blind)
#411324
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f0b3f;
/* rgb */ color: rgb(63, 11, 63);
/* oklch */ color: oklch(26.9% 0.104 328.0);
Tailwind
colors: {
  custom: {
    50: '#765074',
    500: '#3f0b3f',
    950: '#000000',
  },
}
SCSS
$custom: #3f0b3f;
$custom-light: #765074;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0b3f",
  "rgb": {
    "r": 63,
    "g": 11,
    "b": 63
  },
  "hsl": {
    "h": 300,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26862,
    "c": 0.10445,
    "h": 328
  },
  "luminance": 0.01655
}

Semantic roles & 50–950 ramp

primary
#3F0B3F
secondary
#2A7C2A
accent
#ED3B3B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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