#3E2AA2#3E2AA2

#3E2AA2 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.181 H 281.8°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#3E2AA2
RGBrgb(62, 42, 162)
HSLhsl(250, 59%, 40%)
HSVhsv(250, 74%, 64%)
CMYKcmyk(61.7%, 74.1%, 0%, 36.5%)
CIE-LABlab(27.54, 43.01, -61.55)
CIE-LCHlch(27.54, 75.09, 304.95°)
OKLaboklab(39.42% 0.0369 -0.1775)
OKLCHoklch(39.42% 0.181 281.8)
XYZxyz(9.3341, 5.2880, 34.7042)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2AA2 #8EA22A
analogous
#2A52A2 #3E2AA2 #7A2AA2
triadic
#3E2AA2 #A23E2A #2AA23E
tetradic
#3E2AA2 #A22A52 #8EA22A #2AA27A
square
#3E2AA2 #A22A52 #8EA22A #2AA27A
split-complementary
#3E2AA2 #A27A2A #52A22A
monochromatic
#191141 #2B1D71 #3E2AA2 #553DCD #7F6DD9

Accessibility & contrast

On white

10.21
#3E2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3E2AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2AA2
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2AA2#FFFFFF#000000##FFFFFF
##3E2AA21.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A6
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e2aa2;
/* rgb */ color: rgb(62, 42, 162);
/* oklch */ color: oklch(39.4% 0.181 281.8);
Tailwind
colors: {
  custom: {
    50: '#8066bf',
    500: '#3e2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #3e2aa2;
$custom-light: #8066bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2aa2",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 250,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.39417,
    "c": 0.18126,
    "h": 281.8
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#3E2AA2
secondary
#B1C068
accent
#E246C8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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