#3E1250#3E1250

#3E1250 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.7% C 0.112 H 314.2°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#3E1250
RGBrgb(62, 18, 80)
HSLhsl(283, 63%, 19%)
HSVhsv(283, 78%, 31%)
CMYKcmyk(22.5%, 77.5%, 0%, 68.6%)
CIE-LABlab(15.68, 32.17, -28.41)
CIE-LCHlch(15.68, 42.92, 318.55°)
OKLaboklab(28.73% 0.0779 -0.0801)
OKLCHoklch(28.73% 0.112 314.2)
XYZxyz(3.6506, 2.0361, 7.7886)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1250 #245012
analogous
#1F1250 #3E1250 #501243
triadic
#3E1250 #503E12 #12503E
tetradic
#3E1250 #501F12 #245012 #124350
square
#3E1250 #501F12 #245012 #124350
split-complementary
#3E1250 #435012 #12501F
monochromatic
#130619 #17071E #3E1250 #651D82 #8B28B4

Accessibility & contrast

On white

14.92
#3E1250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1250
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1250#FFFFFF#000000##FFFFFF
##3E12501.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002552
Deuteranopia (green-blind)
#0F284F
Tritanopia (blue-blind)
#3C1F2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e1250;
/* rgb */ color: rgb(62, 18, 80);
/* oklch */ color: oklch(28.7% 0.112 314.2);
Tailwind
colors: {
  custom: {
    50: '#765481',
    500: '#3e1250',
    950: '#000000',
  },
}
SCSS
$custom: #3e1250;
$custom-light: #765481;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1250",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 282.581,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28725,
    "c": 0.11173,
    "h": 314.2
  },
  "luminance": 0.02036
}

Semantic roles & 50–950 ramp

primary
#3E1250
secondary
#4D8935
accent
#E64171
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E1250

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

Preview Lab → · Contrast checker → · Palette generator →

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