#3E0C55#3E0C55

#3E0C55 is a dark, vivid purple. Relative luminance 0.019; OKLCH L 28.5% C 0.124 H 312.0°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#3E0C55
RGBrgb(62, 12, 85)
HSLhsl(281, 75%, 19%)
HSVhsv(281, 86%, 33%)
CMYKcmyk(27.1%, 85.9%, 0%, 66.7%)
CIE-LABlab(15.19, 35.91, -32.60)
CIE-LCHlch(15.19, 48.50, 317.76°)
OKLaboklab(28.51% 0.0833 -0.0924)
OKLCHoklch(28.51% 0.124 312)
XYZxyz(3.7575, 1.9431, 8.7697)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0C55 #23550C
analogous
#1A0C55 #3E0C55 #550C48
triadic
#3E0C55 #553E0C #0C553E
tetradic
#3E0C55 #551A0C #23550C #0C4855
square
#3E0C55 #551A0C #23550C #0C4855
split-complementary
#3E0C55 #48550C #0C551A
monochromatic
#14041B #17041F #3E0C55 #65148B #8C1BC0

Accessibility & contrast

On white

15.12
#3E0C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3E0C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0C55
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0C55#FFFFFF#000000##FFFFFF
##3E0C551.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#002754
Tritanopia (blue-blind)
#3B1E31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e0c55;
/* rgb */ color: rgb(62, 12, 85);
/* oklch */ color: oklch(28.5% 0.124 312.0);
Tailwind
colors: {
  custom: {
    50: '#775285',
    500: '#3e0c55',
    950: '#000000',
  },
}
SCSS
$custom: #3e0c55;
$custom-light: #775285;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0c55",
  "rgb": {
    "r": 62,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 281.096,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28507,
    "c": 0.12437,
    "h": 312
  },
  "luminance": 0.01943
}

Semantic roles & 50–950 ramp

primary
#3E0C55
secondary
#4C902D
accent
#F23671
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3E0C55

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

Preview Lab → · Contrast checker → · Palette generator →

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