#3E124F#3E124F

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

Color values

HEX#3E124F
RGBrgb(62, 18, 79)
HSLhsl(283, 63%, 19%)
HSVhsv(283, 77%, 31%)
CMYKcmyk(21.5%, 77.2%, 0%, 69%)
CIE-LABlab(15.60, 31.93, -27.85)
CIE-LCHlch(15.60, 42.37, 318.91°)
OKLaboklab(28.65% 0.078 -0.0784)
OKLCHoklch(28.65% 0.111 314.8)
XYZxyz(3.6140, 2.0214, 7.5954)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E124F #234F12
analogous
#20124F #3E124F #4F1242
triadic
#3E124F #4F3E12 #124F3E
tetradic
#3E124F #4F2012 #234F12 #12424F
square
#3E124F #4F2012 #234F12 #12424F
split-complementary
#3E124F #424F12 #124F20
monochromatic
#140619 #17071D #3E124F #651D81 #8C29B3

Accessibility & contrast

On white

14.96
#3E124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E124F
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E124F#FFFFFF#000000##FFFFFF
##3E124F1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#10284E
Tritanopia (blue-blind)
#3D1F2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e124f;
/* rgb */ color: rgb(62, 18, 79);
/* oklch */ color: oklch(28.6% 0.111 314.8);
Tailwind
colors: {
  custom: {
    50: '#765481',
    500: '#3e124f',
    950: '#000000',
  },
}
SCSS
$custom: #3e124f;
$custom-light: #765481;
$custom-dark: #000000;
JSON
{
  "hex": "#3e124f",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 283.279,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28646,
    "c": 0.11063,
    "h": 314.8
  },
  "luminance": 0.02021
}

Semantic roles & 50–950 ramp

primary
#3E124F
secondary
#4C8835
accent
#E64270
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E124F

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

Preview Lab → · Contrast checker → · Palette generator →

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