#3E1475#3E1475

#3E1475 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.151 H 296.3°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#3E1475
RGBrgb(62, 20, 117)
HSLhsl(266, 71%, 27%)
HSVhsv(266, 83%, 46%)
CMYKcmyk(47%, 82.9%, 0%, 54.1%)
CIE-LABlab(19.26, 40.78, -47.07)
CIE-LCHlch(19.26, 62.28, 310.91°)
OKLaboklab(32.26% 0.0668 -0.1349)
OKLCHoklch(32.26% 0.151 296.3)
XYZxyz(5.4468, 2.8087, 17.0813)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1475 #4B7514
analogous
#141B75 #3E1475 #6F1475
triadic
#3E1475 #753E14 #14753E
tetradic
#3E1475 #75141B #4B7514 #14756F
square
#3E1475 #75141B #4B7514 #14756F
split-complementary
#3E1475 #756F14 #1B7514
monochromatic
#0E041A #220B41 #3E1475 #5A1DA9 #7629DA

Accessibility & contrast

On white

13.45
#3E1475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3E1475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1475
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1475#FFFFFF#000000##FFFFFF
##3E14751.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#2F3045
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3e1475;
/* rgb */ color: rgb(62, 20, 117);
/* oklch */ color: oklch(32.3% 0.151 296.3);
Tailwind
colors: {
  custom: {
    50: '#7a589e',
    500: '#3e1475',
    950: '#000000',
  },
}
SCSS
$custom: #3e1475;
$custom-light: #7a589e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1475",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 265.979,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32263,
    "c": 0.15052,
    "h": 296.3
  },
  "luminance": 0.02809
}

Semantic roles & 50–950 ramp

primary
#3E1475
secondary
#7AAB3A
accent
#EE3AA0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3E1475

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

Preview Lab → · Contrast checker → · Palette generator →

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