#3E0F59#3E0F59

#3E0F59 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.125 H 309.4°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#3E0F59
RGBrgb(62, 15, 89)
HSLhsl(278, 71%, 20%)
HSVhsv(278, 83%, 35%)
CMYKcmyk(30.3%, 83.1%, 0%, 65.1%)
CIE-LABlab(15.94, 35.68, -34.08)
CIE-LCHlch(15.94, 49.34, 316.31°)
OKLaboklab(29.14% 0.0795 -0.0967)
OKLCHoklch(29.14% 0.125 309.4)
XYZxyz(3.9602, 2.0871, 9.6435)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F59 #2A590F
analogous
#190F59 #3E0F59 #590F4F
triadic
#3E0F59 #593E0F #0F593E
tetradic
#3E0F59 #59190F #2A590F #0F4F59
square
#3E0F59 #59190F #2A590F #0F4F59
split-complementary
#3E0F59 #4F590F #0F5919
monochromatic
#12041A #1A0625 #3E0F59 #62188D #8721C2

Accessibility & contrast

On white

14.82
#3E0F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3E0F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0F59
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F59#FFFFFF#000000##FFFFFF
##3E0F591.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002857
Tritanopia (blue-blind)
#3A2134
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e0f59;
/* rgb */ color: rgb(62, 15, 89);
/* oklch */ color: oklch(29.1% 0.125 309.4);
Tailwind
colors: {
  custom: {
    50: '#775388',
    500: '#3e0f59',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f59;
$custom-light: #775388;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f59",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 89
  },
  "hsl": {
    "h": 278.108,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29142,
    "c": 0.12521,
    "h": 309.4
  },
  "luminance": 0.02087
}

Semantic roles & 50–950 ramp

primary
#3E0F59
secondary
#559331
accent
#EE3A7C
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E0F59

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

Preview Lab → · Contrast checker → · Palette generator →

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