#3E0945#3E0945

#3E0945 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.9% C 0.112 H 322.7°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#3E0945
RGBrgb(62, 9, 69)
HSLhsl(293, 77%, 15%)
HSVhsv(293, 87%, 27%)
CMYKcmyk(10.1%, 87%, 0%, 72.9%)
CIE-LABlab(13.53, 33.47, -24.26)
CIE-LCHlch(13.53, 41.34, 324.07°)
OKLaboklab(26.93% 0.089 -0.0679)
OKLCHoklch(26.93% 0.112 322.7)
XYZxyz(3.1584, 1.6494, 5.7811)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0945 #104509
analogous
#200945 #3E0945 #45092E
triadic
#3E0945 #453E09 #09453E
tetradic
#3E0945 #452009 #104509 #092E45
square
#3E0945 #452009 #104509 #092E45
split-complementary
#3E0945 #2E4509 #094520
monochromatic
#18041B #18041B #3E0945 #6F107B #9F17B1

Accessibility & contrast

On white

15.79
#3E0945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3E0945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0945
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0945#FFFFFF#000000##FFFFFF
##3E09451.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F47
Deuteranopia (green-blind)
#132544
Tritanopia (blue-blind)
#3F1527
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3e0945;
/* rgb */ color: rgb(62, 9, 69);
/* oklch */ color: oklch(26.9% 0.112 322.7);
Tailwind
colors: {
  custom: {
    50: '#765079',
    500: '#3e0945',
    950: '#000000',
  },
}
SCSS
$custom: #3e0945;
$custom-light: #765079;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0945",
  "rgb": {
    "r": 62,
    "g": 9,
    "b": 69
  },
  "hsl": {
    "h": 293,
    "s": 76.923,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26934,
    "c": 0.11193,
    "h": 322.7
  },
  "luminance": 0.01649
}

Semantic roles & 50–950 ramp

primary
#3E0945
secondary
#328327
accent
#F3344B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0945

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

Preview Lab → · Contrast checker → · Palette generator →

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