#3E0C58#3E0C58

#3E0C58 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.127 H 310.4°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#3E0C58
RGBrgb(62, 12, 88)
HSLhsl(279, 76%, 20%)
HSVhsv(279, 86%, 35%)
CMYKcmyk(29.5%, 86.4%, 0%, 65.5%)
CIE-LABlab(15.44, 36.62, -34.21)
CIE-LCHlch(15.44, 50.11, 316.94°)
OKLaboklab(28.77% 0.0825 -0.0971)
OKLCHoklch(28.77% 0.127 310.4)
XYZxyz(3.8792, 1.9917, 9.4107)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0C58 #26580C
analogous
#180C58 #3E0C58 #580C4C
triadic
#3E0C58 #583E0C #0C583E
tetradic
#3E0C58 #58180C #26580C #0C4C58
square
#3E0C58 #58180C #26580C #0C4C58
split-complementary
#3E0C58 #4C580C #0C5818
monochromatic
#13041B #180522 #3E0C58 #64138E #8A1BC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E0C58#FFFFFF#000000##FFFFFF
##3E0C581.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)
#00255A
Deuteranopia (green-blind)
#002756
Tritanopia (blue-blind)
#3A1F32
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e0c58;
/* rgb */ color: rgb(62, 12, 88);
/* oklch */ color: oklch(28.8% 0.127 310.4);
Tailwind
colors: {
  custom: {
    50: '#775288',
    500: '#3e0c58',
    950: '#000000',
  },
}
SCSS
$custom: #3e0c58;
$custom-light: #775288;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0c58",
  "rgb": {
    "r": 62,
    "g": 12,
    "b": 88
  },
  "hsl": {
    "h": 279.474,
    "s": 76,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28768,
    "c": 0.12743,
    "h": 310.4
  },
  "luminance": 0.01992
}

Semantic roles & 50–950 ramp

primary
#3E0C58
secondary
#50932D
accent
#F33576
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3E0C58

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

Preview Lab → · Contrast checker → · Palette generator →

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