#3E1850#3E1850

#3E1850 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.5% C 0.103 H 313.1°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#3E1850
RGBrgb(62, 24, 80)
HSLhsl(281, 54%, 20%)
HSVhsv(281, 70%, 31%)
CMYKcmyk(22.5%, 70%, 0%, 68.6%)
CIE-LABlab(16.78, 29.09, -26.63)
CIE-LCHlch(16.78, 39.44, 317.52°)
OKLaboklab(29.52% 0.0702 -0.0749)
OKLCHoklch(29.52% 0.103 313.1)
XYZxyz(3.7610, 2.2567, 7.8253)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1850 #2A5018
analogous
#221850 #3E1850 #501846
triadic
#3E1850 #503E18 #18503E
tetradic
#3E1850 #502218 #2A5018 #184650
square
#3E1850 #502218 #2A5018 #184650
split-complementary
#3E1850 #465018 #185022
monochromatic
#120718 #1A0A21 #3E1850 #62267F #8734AE

Accessibility & contrast

On white

14.47
#3E1850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3E1850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1850
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1850#FFFFFF#000000##FFFFFF
##3E18501.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022752
Deuteranopia (green-blind)
#152A4F
Tritanopia (blue-blind)
#3C2331
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e1850;
/* rgb */ color: rgb(62, 24, 80);
/* oklch */ color: oklch(29.5% 0.103 313.1);
Tailwind
colors: {
  custom: {
    50: '#755881',
    500: '#3e1850',
    950: '#000000',
  },
}
SCSS
$custom: #3e1850;
$custom-light: #755881;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1850",
  "rgb": {
    "r": 62,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 280.714,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29518,
    "c": 0.10264,
    "h": 313.1
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#3E1850
secondary
#55873D
accent
#DD4B7A
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E1850

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

Preview Lab → · Contrast checker → · Palette generator →

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