#3E0F53#3E0F53

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

Color values

HEX#3E0F53
RGBrgb(62, 15, 83)
HSLhsl(281, 69%, 19%)
HSVhsv(281, 82%, 33%)
CMYKcmyk(25.3%, 81.9%, 0%, 67.5%)
CIE-LABlab(15.44, 34.23, -30.84)
CIE-LCHlch(15.44, 46.08, 317.99°)
OKLaboklab(28.63% 0.0808 -0.0872)
OKLCHoklch(28.63% 0.119 312.8)
XYZxyz(3.7185, 1.9904, 8.3702)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F53 #24530F
analogous
#1C0F53 #3E0F53 #530F46
triadic
#3E0F53 #533E0F #0F533E
tetradic
#3E0F53 #531C0F #24530F #0F4653
square
#3E0F53 #531C0F #24530F #0F4653
split-complementary
#3E0F53 #46530F #0F531C
monochromatic
#13051A #17061F #3E0F53 #651887 #8B22BB

Accessibility & contrast

On white

15.02
#3E0F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0F53
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F53#FFFFFF#000000##FFFFFF
##3E0F531.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002455
Deuteranopia (green-blind)
#072852
Tritanopia (blue-blind)
#3C1F30
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e0f53;
/* rgb */ color: rgb(62, 15, 83);
/* oklch */ color: oklch(28.6% 0.119 312.8);
Tailwind
colors: {
  custom: {
    50: '#765384',
    500: '#3e0f53',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f53;
$custom-light: #765384;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f53",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 281.471,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28631,
    "c": 0.11887,
    "h": 312.8
  },
  "luminance": 0.0199
}

Semantic roles & 50–950 ramp

primary
#3E0F53
secondary
#4D8D31
accent
#EC3C72
background
#F7F4F8
surface
#EDE8EF
border
#C8C4CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E0F53

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

Preview Lab → · Contrast checker → · Palette generator →

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