#3E154B#3E154B

#3E154B is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.7% C 0.102 H 317.1°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#3E154B
RGBrgb(62, 21, 75)
HSLhsl(286, 56%, 19%)
HSVhsv(286, 72%, 29%)
CMYKcmyk(17.3%, 72%, 0%, 70.6%)
CIE-LABlab(15.84, 29.48, -24.71)
CIE-LCHlch(15.84, 38.47, 320.02°)
OKLaboklab(28.73% 0.0745 -0.0693)
OKLCHoklch(28.73% 0.102 317.1)
XYZxyz(3.5246, 2.0686, 6.8689)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E154B #224B15
analogous
#23154B #3E154B #4B153D
triadic
#3E154B #4B3E15 #154B3E
tetradic
#3E154B #4B2315 #224B15 #153D4B
square
#3E154B #4B2315 #224B15 #153D4B
split-complementary
#3E154B #3D4B15 #154B23
monochromatic
#140718 #16081B #3E154B #66227B #8D30AB

Accessibility & contrast

On white

14.86
#3E154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E154B
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E154B#FFFFFF#000000##FFFFFF
##3E154B1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03254D
Deuteranopia (green-blind)
#16294A
Tritanopia (blue-blind)
#3D1F2E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e154b;
/* rgb */ color: rgb(62, 21, 75);
/* oklch */ color: oklch(28.7% 0.102 317.1);
Tailwind
colors: {
  custom: {
    50: '#75567d',
    500: '#3e154b',
    950: '#000000',
  },
}
SCSS
$custom: #3e154b;
$custom-light: #75567d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e154b",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 285.556,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28728,
    "c": 0.1017,
    "h": 317.1
  },
  "luminance": 0.02068
}

Semantic roles & 50–950 ramp

primary
#3E154B
secondary
#4B8339
accent
#E0486D
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3E154B

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

Preview Lab → · Contrast checker → · Palette generator →

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