#3F0938#3F0938

#3F0938 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.2% C 0.101 H 334.0°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#3F0938
RGBrgb(63, 9, 56)
HSLhsl(308, 75%, 14%)
HSVhsv(308, 86%, 25%)
CMYKcmyk(0%, 85.7%, 11.1%, 75.3%)
CIE-LABlab(12.85, 31.20, -16.12)
CIE-LCHlch(12.85, 35.12, 332.68°)
OKLaboklab(26.2% 0.0906 -0.0442)
OKLCHoklch(26.2% 0.101 334)
XYZxyz(2.8614, 1.5379, 3.8868)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0938 #093F10
analogous
#2B093F #3F0938 #3F091D
triadic
#3F0938 #383F09 #09383F
tetradic
#3F0938 #3F2B09 #093F10 #091D3F
square
#3F0938 #3F2B09 #093F10 #091D3F
split-complementary
#3F0938 #1D3F09 #093F2B
monochromatic
#1B0418 #1B0418 #3F0938 #751168 #AA1897

Accessibility & contrast

On white

16.06
#3F0938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3F0938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0938
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0938#FFFFFF#000000##FFFFFF
##3F09381.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081C39
Deuteranopia (green-blind)
#1C2437
Tritanopia (blue-blind)
#420E20
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3f0938;
/* rgb */ color: rgb(63, 9, 56);
/* oklch */ color: oklch(26.2% 0.101 334.0);
Tailwind
colors: {
  custom: {
    50: '#764f6f',
    500: '#3f0938',
    950: '#000000',
  },
}
SCSS
$custom: #3f0938;
$custom-light: #764f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0938",
  "rgb": {
    "r": 63,
    "g": 9,
    "b": 56
  },
  "hsl": {
    "h": 307.778,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26204,
    "c": 0.10077,
    "h": 334
  },
  "luminance": 0.01538
}

Semantic roles & 50–950 ramp

primary
#3F0938
secondary
#277D32
accent
#F24E36
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F0938

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

Preview Lab → · Contrast checker → · Palette generator →

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