#3E123A#3E123A

#3E123A is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.2% C 0.089 H 331.5°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#3E123A
RGBrgb(62, 18, 58)
HSLhsl(305, 55%, 16%)
HSVhsv(305, 71%, 24%)
CMYKcmyk(0%, 71%, 6.5%, 75.7%)
CIE-LABlab(14.19, 27.31, -15.45)
CIE-LCHlch(14.19, 31.37, 330.49°)
OKLaboklab(27.18% 0.0779 -0.0424)
OKLCHoklch(27.18% 0.089 331.5)
XYZxyz(2.9666, 1.7625, 4.1861)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E123A #123E16
analogous
#2C123E #3E123A #3E1224
triadic
#3E123A #3A3E12 #123A3E
tetradic
#3E123A #3E2C12 #123E16 #12243E
square
#3E123A #3E2C12 #123E16 #12243E
split-complementary
#3E123A #243E12 #123E2C
monochromatic
#180716 #180716 #3E123A #6D2066 #9D2E93

Accessibility & contrast

On white

15.53
#3E123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3E123A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E123A
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E123A#FFFFFF#000000##FFFFFF
##3E123A1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10203B
Deuteranopia (green-blind)
#1E2639
Tritanopia (blue-blind)
#411624
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3e123a;
/* rgb */ color: rgb(62, 18, 58);
/* oklch */ color: oklch(27.2% 0.089 331.5);
Tailwind
colors: {
  custom: {
    50: '#755370',
    500: '#3e123a',
    950: '#000000',
  },
}
SCSS
$custom: #3e123a;
$custom-light: #755370;
$custom-dark: #000000;
JSON
{
  "hex": "#3e123a",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 305.455,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27175,
    "c": 0.08869,
    "h": 331.5
  },
  "luminance": 0.01762
}

Semantic roles & 50–950 ramp

primary
#3E123A
secondary
#35773B
accent
#DE5749
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080307
muted
#7B787A

Preview Lab

Preview with #3E123A

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

Preview Lab → · Contrast checker → · Palette generator →

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