#3E124C#3E124C

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

Color values

HEX#3E124C
RGBrgb(62, 18, 76)
HSLhsl(286, 62%, 18%)
HSVhsv(286, 76%, 30%)
CMYKcmyk(18.4%, 76.3%, 0%, 70.2%)
CIE-LABlab(15.38, 31.22, -26.15)
CIE-LCHlch(15.38, 40.73, 320.05°)
OKLaboklab(28.42% 0.0783 -0.0735)
OKLCHoklch(28.42% 0.107 316.8)
XYZxyz(3.5072, 1.9787, 7.0333)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E124C #204C12
analogous
#21124C #3E124C #4C123D
triadic
#3E124C #4C3E12 #124C3E
tetradic
#3E124C #4C2112 #204C12 #123D4C
square
#3E124C #4C2112 #204C12 #123D4C
split-complementary
#3E124C #3D4C12 #124C21
monochromatic
#140619 #16061B #3E124C #661E7D #8F29AF

Accessibility & contrast

On white

15.05
#3E124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E124C
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E124C#FFFFFF#000000##FFFFFF
##3E124C1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#13284B
Tritanopia (blue-blind)
#3D1D2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e124c;
/* rgb */ color: rgb(62, 18, 76);
/* oklch */ color: oklch(28.4% 0.107 316.8);
Tailwind
colors: {
  custom: {
    50: '#76547e',
    500: '#3e124c',
    950: '#000000',
  },
}
SCSS
$custom: #3e124c;
$custom-light: #76547e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e124c",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 285.517,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28415,
    "c": 0.10738,
    "h": 316.8
  },
  "luminance": 0.01979
}

Semantic roles & 50–950 ramp

primary
#3E124C
secondary
#488535
accent
#E5436A
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E124C

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

Preview Lab → · Contrast checker → · Palette generator →

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