#3E1945#3E1945

#3E1945 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.9% C 0.088 H 321.0°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#3E1945
RGBrgb(62, 25, 69)
HSLhsl(290, 47%, 18%)
HSVhsv(290, 64%, 27%)
CMYKcmyk(10.1%, 63.8%, 0%, 72.9%)
CIE-LABlab(16.25, 25.87, -19.92)
CIE-LCHlch(16.25, 32.65, 322.39°)
OKLaboklab(28.9% 0.0684 -0.0553)
OKLCHoklch(28.9% 0.088 321)
XYZxyz(3.4083, 2.1492, 5.8644)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1945 #204519
analogous
#281945 #3E1945 #451936
triadic
#3E1945 #453E19 #19453E
tetradic
#3E1945 #452819 #204519 #193645
square
#3E1945 #452819 #204519 #193645
split-complementary
#3E1945 #364519 #194528
monochromatic
#140816 #160918 #3E1945 #662972 #8F3A9F

Accessibility & contrast

On white

14.69
#3E1945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3E1945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1945
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1945#FFFFFF#000000##FFFFFF
##3E19451.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102646
Deuteranopia (green-blind)
#1D2A44
Tritanopia (blue-blind)
#3F1F2C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e1945;
/* rgb */ color: rgb(62, 25, 69);
/* oklch */ color: oklch(28.9% 0.088 321.0);
Tailwind
colors: {
  custom: {
    50: '#755879',
    500: '#3e1945',
    950: '#000000',
  },
}
SCSS
$custom: #3e1945;
$custom-light: #755879;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1945",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 290.455,
    "s": 46.809,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28896,
    "c": 0.08801,
    "h": 321
  },
  "luminance": 0.02149
}

Semantic roles & 50–950 ramp

primary
#3E1945
secondary
#487B3E
accent
#D65167
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3E1945

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

Preview Lab → · Contrast checker → · Palette generator →

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