#3F124B#3F124B

#3F124B is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.107 H 318.4°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#3F124B
RGBrgb(63, 18, 75)
HSLhsl(287, 61%, 18%)
HSVhsv(287, 76%, 29%)
CMYKcmyk(16%, 76%, 0%, 70.6%)
CIE-LABlab(15.47, 31.25, -25.30)
CIE-LCHlch(15.47, 40.21, 321.01°)
OKLaboklab(28.5% 0.0798 -0.0709)
OKLCHoklch(28.5% 0.107 318.4)
XYZxyz(3.5360, 1.9975, 6.8545)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F124B #1E4B12
analogous
#22124B #3F124B #4B123A
triadic
#3F124B #4B3F12 #124B3F
tetradic
#3F124B #4B2212 #1E4B12 #123A4B
square
#3F124B #4B2212 #1E4B12 #123A4B
split-complementary
#3F124B #3A4B12 #124B22
monochromatic
#150619 #16061A #3F124B #681E7C #922AAE

Accessibility & contrast

On white

15.01
#3F124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3F124B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F124B
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F124B#FFFFFF#000000##FFFFFF
##3F124B1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244D
Deuteranopia (green-blind)
#15284A
Tritanopia (blue-blind)
#3F1D2D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f124b;
/* rgb */ color: rgb(63, 18, 75);
/* oklch */ color: oklch(28.5% 0.107 318.4);
Tailwind
colors: {
  custom: {
    50: '#76547e',
    500: '#3f124b',
    950: '#000000',
  },
}
SCSS
$custom: #3f124b;
$custom-light: #76547e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f124b",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 287.368,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28498,
    "c": 0.10677,
    "h": 318.4
  },
  "luminance": 0.01997
}

Semantic roles & 50–950 ramp

primary
#3F124B
secondary
#458435
accent
#E44365
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F124B

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

Preview Lab → · Contrast checker → · Palette generator →

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