#3E1150#3E1150

#3E1150 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.6% C 0.113 H 314.4°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#3E1150
RGBrgb(62, 17, 80)
HSLhsl(283, 65%, 19%)
HSVhsv(283, 79%, 31%)
CMYKcmyk(22.5%, 78.8%, 0%, 68.6%)
CIE-LABlab(15.51, 32.64, -28.68)
CIE-LCHlch(15.51, 43.45, 318.70°)
OKLaboklab(28.61% 0.0791 -0.0809)
OKLCHoklch(28.61% 0.113 314.4)
XYZxyz(3.6348, 2.0043, 7.7833)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1150 #235011
analogous
#1F1150 #3E1150 #501143
triadic
#3E1150 #503E11 #11503E
tetradic
#3E1150 #501F11 #235011 #114350
square
#3E1150 #501F11 #235011 #114350
split-complementary
#3E1150 #435011 #11501F
monochromatic
#140519 #17061E #3E1150 #651C82 #8C26B5

Accessibility & contrast

On white

14.99
#3E1150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1150
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1150#FFFFFF#000000##FFFFFF
##3E11501.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#0E284F
Tritanopia (blue-blind)
#3C1E2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e1150;
/* rgb */ color: rgb(62, 17, 80);
/* oklch */ color: oklch(28.6% 0.113 314.4);
Tailwind
colors: {
  custom: {
    50: '#765481',
    500: '#3e1150',
    950: '#000000',
  },
}
SCSS
$custom: #3e1150;
$custom-light: #765481;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1150",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 282.857,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28607,
    "c": 0.1131,
    "h": 314.4
  },
  "luminance": 0.02004
}

Semantic roles & 50–950 ramp

primary
#3E1150
secondary
#4C8933
accent
#E84070
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E1150

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

Preview Lab → · Contrast checker → · Palette generator →

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