#3F0F3D#3F0F3D

#3F0F3D is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.097 H 329.6°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#3F0F3D
RGBrgb(63, 15, 61)
HSLhsl(303, 62%, 15%)
HSVhsv(303, 76%, 25%)
CMYKcmyk(0%, 76.2%, 3.2%, 75.3%)
CIE-LABlab(14.03, 29.66, -17.81)
CIE-LCHlch(14.03, 34.60, 329.01°)
OKLaboklab(27.16% 0.0837 -0.0491)
OKLCHoklch(27.16% 0.097 329.6)
XYZxyz(3.0630, 1.7356, 4.5876)
Luminance0.0174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F3D #0F3F11
analogous
#290F3F #3F0F3D #3F0F25
triadic
#3F0F3D #3D3F0F #0F3D3F
tetradic
#3F0F3D #3F290F #0F3F11 #0F253F
square
#3F0F3D #3F290F #0F3F11 #0F253F
split-complementary
#3F0F3D #253F0F #0F3F29
monochromatic
#190618 #190618 #3F0F3D #701B6D #A2279D

Accessibility & contrast

On white

15.59
#3F0F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3F0F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F3D
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F3D#FFFFFF#000000##FFFFFF
##3F0F3D1.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A203E
Deuteranopia (green-blind)
#1C263C
Tritanopia (blue-blind)
#421524
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f0f3d;
/* rgb */ color: rgb(63, 15, 61);
/* oklch */ color: oklch(27.2% 0.097 329.6);
Tailwind
colors: {
  custom: {
    50: '#765272',
    500: '#3f0f3d',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f3d;
$custom-light: #765272;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f3d",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 302.5,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27158,
    "c": 0.09704,
    "h": 329.6
  },
  "luminance": 0.01735
}

Semantic roles & 50–950 ramp

primary
#3F0F3D
secondary
#307933
accent
#E54A43
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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