#3E2195#3E2195

#3E2195 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.175 H 285.5°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#3E2195
RGBrgb(62, 33, 149)
HSLhsl(255, 64%, 36%)
HSVhsv(255, 78%, 58%)
CMYKcmyk(58.4%, 77.9%, 0%, 41.6%)
CIE-LABlab(24.58, 43.78, -58.47)
CIE-LCHlch(24.58, 73.04, 306.83°)
OKLaboklab(36.94% 0.0468 -0.1684)
OKLCHoklch(36.94% 0.175 285.5)
XYZxyz(7.9536, 4.2813, 28.8352)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2195 #789521
analogous
#213E95 #3E2195 #782195
triadic
#3E2195 #953E21 #21953E
tetradic
#3E2195 #95213E #789521 #219578
square
#3E2195 #95213E #789521 #219578
split-complementary
#3E2195 #957821 #3E9521
monochromatic
#140B31 #291663 #3E2195 #532CC7 #7757DA

Accessibility & contrast

On white

11.31
#3E2195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3E2195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2195
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2195#FFFFFF#000000##FFFFFF
##3E21951.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#11425A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e2195;
/* rgb */ color: rgb(62, 33, 149);
/* oklch */ color: oklch(36.9% 0.175 285.5);
Tailwind
colors: {
  custom: {
    50: '#7e60b5',
    500: '#3e2195',
    950: '#000000',
  },
}
SCSS
$custom: #3e2195;
$custom-light: #7e60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2195",
  "rgb": {
    "r": 62,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 255,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36943,
    "c": 0.17478,
    "h": 285.5
  },
  "luminance": 0.04282
}

Semantic roles & 50–950 ramp

primary
#3E2195
secondary
#A3BE54
accent
#E741BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E2195

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

Preview Lab → · Contrast checker → · Palette generator →

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