#3E0E58#3E0E58

#3E0E58 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.0% C 0.125 H 310.1°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#3E0E58
RGBrgb(62, 14, 88)
HSLhsl(279, 73%, 20%)
HSVhsv(279, 84%, 35%)
CMYKcmyk(29.5%, 84.1%, 0%, 65.5%)
CIE-LABlab(15.71, 35.84, -33.78)
CIE-LCHlch(15.71, 49.25, 316.70°)
OKLaboklab(28.96% 0.0807 -0.0958)
OKLCHoklch(28.96% 0.125 310.1)
XYZxyz(3.9047, 2.0429, 9.4192)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0E58 #28580E
analogous
#190E58 #3E0E58 #580E4D
triadic
#3E0E58 #583E0E #0E583E
tetradic
#3E0E58 #58190E #28580E #0E4D58
square
#3E0E58 #58190E #28580E #0E4D58
split-complementary
#3E0E58 #4D580E #0E5819
monochromatic
#13041A #190623 #3E0E58 #63168D #881FC2

Accessibility & contrast

On white

14.91
#3E0E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0E58
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0E58#FFFFFF#000000##FFFFFF
##3E0E581.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#002856
Tritanopia (blue-blind)
#3A2033
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e0e58;
/* rgb */ color: rgb(62, 14, 88);
/* oklch */ color: oklch(29.0% 0.125 310.1);
Tailwind
colors: {
  custom: {
    50: '#775388',
    500: '#3e0e58',
    950: '#000000',
  },
}
SCSS
$custom: #3e0e58;
$custom-light: #775388;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0e58",
  "rgb": {
    "r": 62,
    "g": 14,
    "b": 88
  },
  "hsl": {
    "h": 278.919,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.28955,
    "c": 0.12529,
    "h": 310.1
  },
  "luminance": 0.02043
}

Semantic roles & 50–950 ramp

primary
#3E0E58
secondary
#529230
accent
#EF3979
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E0E58

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

Preview Lab → · Contrast checker → · Palette generator →

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