#3F123D#3F123D

#3F123D is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.092 H 329.5°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#3F123D
RGBrgb(63, 18, 61)
HSLhsl(303, 56%, 16%)
HSVhsv(303, 71%, 25%)
CMYKcmyk(0%, 71.4%, 3.2%, 75.3%)
CIE-LABlab(14.55, 28.22, -17.00)
CIE-LCHlch(14.55, 32.95, 328.94°)
OKLaboklab(27.53% 0.0796 -0.0468)
OKLCHoklch(27.53% 0.092 329.5)
XYZxyz(3.1085, 1.8265, 4.6028)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F123D #123F14
analogous
#2A123F #3F123D #3F1226
triadic
#3F123D #3D3F12 #123D3F
tetradic
#3F123D #3F2A12 #123F14 #12263F
square
#3F123D #3F2A12 #123F14 #12263F
split-complementary
#3F123D #263F12 #123F2A
monochromatic
#180717 #180717 #3F123D #6F206B #9E2D99

Accessibility & contrast

On white

15.38
#3F123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F123D
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F123D#FFFFFF#000000##FFFFFF
##3F123D1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E213E
Deuteranopia (green-blind)
#1E273C
Tritanopia (blue-blind)
#411725
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f123d;
/* rgb */ color: rgb(63, 18, 61);
/* oklch */ color: oklch(27.5% 0.092 329.5);
Tailwind
colors: {
  custom: {
    50: '#765472',
    500: '#3f123d',
    950: '#000000',
  },
}
SCSS
$custom: #3f123d;
$custom-light: #765472;
$custom-dark: #000000;
JSON
{
  "hex": "#3f123d",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 302.667,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27532,
    "c": 0.09232,
    "h": 329.5
  },
  "luminance": 0.01826
}

Semantic roles & 50–950 ramp

primary
#3F123D
secondary
#357838
accent
#DF5049
background
#F7F4F6
surface
#EDE8EC
border
#C8C4C7
text
#090308
muted
#7B787B

Preview Lab

Preview with #3F123D

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

Preview Lab → · Contrast checker → · Palette generator →

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