#3E1973#3E1973

#3E1973 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.143 H 296.2°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#3E1973
RGBrgb(62, 25, 115)
HSLhsl(265, 64%, 27%)
HSVhsv(265, 78%, 45%)
CMYKcmyk(46.1%, 78.3%, 0%, 54.9%)
CIE-LABlab(19.87, 37.93, -44.78)
CIE-LCHlch(19.87, 58.69, 310.26°)
OKLaboklab(32.63% 0.063 -0.1282)
OKLCHoklch(32.63% 0.143 296.2)
XYZxyz(5.4279, 2.9571, 16.5011)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1973 #4E7319
analogous
#192173 #3E1973 #6B1973
triadic
#3E1973 #733E19 #19733E
tetradic
#3E1973 #731921 #4E7319 #19736B
square
#3E1973 #731921 #4E7319 #19736B
split-complementary
#3E1973 #736B19 #217319
monochromatic
#0E0519 #230E41 #3E1973 #5924A5 #7534D3

Accessibility & contrast

On white

13.20
#3E1973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3E1973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1973
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1973#FFFFFF#000000##FFFFFF
##3E19731.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#303145
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3e1973;
/* rgb */ color: rgb(62, 25, 115);
/* oklch */ color: oklch(32.6% 0.143 296.2);
Tailwind
colors: {
  custom: {
    50: '#795a9c',
    500: '#3e1973',
    950: '#000000',
  },
}
SCSS
$custom: #3e1973;
$custom-light: #795a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1973",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 264.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32631,
    "c": 0.14289,
    "h": 296.2
  },
  "luminance": 0.02957
}

Semantic roles & 50–950 ramp

primary
#3E1973
secondary
#7DA840
accent
#E741A3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3E1973

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

Preview Lab → · Contrast checker → · Palette generator →

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