#3F124D#3F124D

#3F124D is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.6% C 0.109 H 317.0°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#3F124D
RGBrgb(63, 18, 77)
HSLhsl(286, 62%, 19%)
HSVhsv(286, 77%, 30%)
CMYKcmyk(18.2%, 76.6%, 0%, 69.8%)
CIE-LABlab(15.62, 31.71, -26.44)
CIE-LCHlch(15.62, 41.29, 320.18°)
OKLaboklab(28.65% 0.0797 -0.0743)
OKLCHoklch(28.65% 0.109 317)
XYZxyz(3.6056, 2.0253, 7.2207)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F124D #204D12
analogous
#21124D #3F124D #4D123D
triadic
#3F124D #4D3F12 #124D3F
tetradic
#3F124D #4D2112 #204D12 #123D4D
square
#3F124D #4D2112 #204D12 #123D4D
split-complementary
#3F124D #3D4D12 #124D21
monochromatic
#140619 #16061B #3F124D #681E7F #9029B0

Accessibility & contrast

On white

14.95
#3F124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3F124D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F124D
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F124D#FFFFFF#000000##FFFFFF
##3F124D1.0014.951.4114.95
#FFFFFF14.951.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#13284C
Tritanopia (blue-blind)
#3E1E2E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f124d;
/* rgb */ color: rgb(63, 18, 77);
/* oklch */ color: oklch(28.6% 0.109 317.0);
Tailwind
colors: {
  custom: {
    50: '#76547f',
    500: '#3f124d',
    950: '#000000',
  },
}
SCSS
$custom: #3f124d;
$custom-light: #76547f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f124d",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 285.763,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28648,
    "c": 0.10891,
    "h": 317
  },
  "luminance": 0.02025
}

Semantic roles & 50–950 ramp

primary
#3F124D
secondary
#488635
accent
#E54369
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F124D

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

Preview Lab → · Contrast checker → · Palette generator →

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