#3F0D3F#3F0D3F

#3F0D3F is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.102 H 327.9°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#3F0D3F
RGBrgb(63, 13, 63)
HSLhsl(300, 66%, 15%)
HSVhsv(300, 79%, 25%)
CMYKcmyk(0%, 79.4%, 0%, 75.3%)
CIE-LABlab(13.85, 30.94, -19.52)
CIE-LCHlch(13.85, 36.58, 327.75°)
OKLaboklab(27.07% 0.0863 -0.054)
OKLCHoklch(27.07% 0.102 327.9)
XYZxyz(3.0910, 1.7037, 4.8677)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0D3F #0D3F0D
analogous
#260D3F #3F0D3F #3F0D26
triadic
#3F0D3F #3F3F0D #0D3F3F
tetradic
#3F0D3F #3F260D #0D3F0D #0D263F
square
#3F0D3F #3F260D #0D3F0D #0D263F
split-complementary
#3F0D3F #263F0D #0D3F26
monochromatic
#190519 #190519 #3F0D3F #721772 #A422A4

Accessibility & contrast

On white

15.66
#3F0D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3F0D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0D3F
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0D3F#FFFFFF#000000##FFFFFF
##3F0D3F1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051F40
Deuteranopia (green-blind)
#1A263E
Tritanopia (blue-blind)
#411425
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f0d3f;
/* rgb */ color: rgb(63, 13, 63);
/* oklch */ color: oklch(27.1% 0.102 327.9);
Tailwind
colors: {
  custom: {
    50: '#765174',
    500: '#3f0d3f',
    950: '#000000',
  },
}
SCSS
$custom: #3f0d3f;
$custom-light: #765174;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0d3f",
  "rgb": {
    "r": 63,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 300,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27066,
    "c": 0.10181,
    "h": 327.9
  },
  "luminance": 0.01703
}

Semantic roles & 50–950 ramp

primary
#3F0D3F
secondary
#2D7B2D
accent
#E93F3F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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