#3E0D58#3E0D58

#3E0D58 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.126 H 310.2°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#3E0D58
RGBrgb(62, 13, 88)
HSLhsl(279, 74%, 20%)
HSVhsv(279, 85%, 35%)
CMYKcmyk(29.5%, 85.2%, 0%, 65.5%)
CIE-LABlab(15.57, 36.24, -34.00)
CIE-LCHlch(15.57, 49.69, 316.82°)
OKLaboklab(28.86% 0.0816 -0.0965)
OKLCHoklch(28.86% 0.126 310.2)
XYZxyz(3.8916, 2.0166, 9.4149)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0D58 #27580D
analogous
#190D58 #3E0D58 #580D4D
triadic
#3E0D58 #583E0D #0D583E
tetradic
#3E0D58 #58190D #27580D #0D4D58
square
#3E0D58 #58190D #27580D #0D4D58
split-complementary
#3E0D58 #4D580D #0D5819
monochromatic
#13041B #180523 #3E0D58 #64158D #891DC3

Accessibility & contrast

On white

14.96
#3E0D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0D58
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0D58#FFFFFF#000000##FFFFFF
##3E0D581.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.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: #3e0d58;
/* rgb */ color: rgb(62, 13, 88);
/* oklch */ color: oklch(28.9% 0.126 310.2);
Tailwind
colors: {
  custom: {
    50: '#775388',
    500: '#3e0d58',
    950: '#000000',
  },
}
SCSS
$custom: #3e0d58;
$custom-light: #775388;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0d58",
  "rgb": {
    "r": 62,
    "g": 13,
    "b": 88
  },
  "hsl": {
    "h": 279.2,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2886,
    "c": 0.12638,
    "h": 310.2
  },
  "luminance": 0.02017
}

Semantic roles & 50–950 ramp

primary
#3E0D58
secondary
#51932E
accent
#F13777
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E0D58

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

Preview Lab → · Contrast checker → · Palette generator →

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