#3E0F58#3E0F58

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

Color values

HEX#3E0F58
RGBrgb(62, 15, 88)
HSLhsl(279, 71%, 20%)
HSVhsv(279, 83%, 35%)
CMYKcmyk(29.5%, 83%, 0%, 65.5%)
CIE-LABlab(15.85, 35.43, -33.55)
CIE-LCHlch(15.85, 48.80, 316.56°)
OKLaboklab(29.05% 0.0797 -0.0952)
OKLCHoklch(29.05% 0.124 310)
XYZxyz(3.9185, 2.0704, 9.4238)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F58 #29580F
analogous
#190F58 #3E0F58 #580F4D
triadic
#3E0F58 #583E0F #0F583E
tetradic
#3E0F58 #58190F #29580F #0F4D58
square
#3E0F58 #58190F #29580F #0F4D58
split-complementary
#3E0F58 #4D580F #0F5819
monochromatic
#12041A #190624 #3E0F58 #63188C #8821C1

Accessibility & contrast

On white

14.85
#3E0F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0F58
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F58#FFFFFF#000000##FFFFFF
##3E0F581.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265A
Deuteranopia (green-blind)
#002857
Tritanopia (blue-blind)
#3A2133
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e0f58;
/* rgb */ color: rgb(62, 15, 88);
/* oklch */ color: oklch(29.1% 0.124 310.0);
Tailwind
colors: {
  custom: {
    50: '#775388',
    500: '#3e0f58',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f58;
$custom-light: #775388;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f58",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 278.63,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29055,
    "c": 0.12415,
    "h": 310
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#3E0F58
secondary
#539231
accent
#EE3A7A
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E0F58

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

Preview Lab → · Contrast checker → · Palette generator →

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