#3E29A3#3E29A3

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

Color values

HEX#3E29A3
RGBrgb(62, 41, 163)
HSLhsl(250, 60%, 40%)
HSVhsv(250, 75%, 64%)
CMYKcmyk(62%, 74.8%, 0%, 36.1%)
CIE-LABlab(27.45, 43.86, -62.31)
CIE-LCHlch(27.45, 76.20, 305.14°)
OKLaboklab(39.38% 0.0374 -0.1797)
OKLCHoklch(39.38% 0.184 281.8)
XYZxyz(9.3883, 5.2537, 35.1626)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E29A3 #8EA329
analogous
#2951A3 #3E29A3 #7B29A3
triadic
#3E29A3 #A33E29 #29A33E
tetradic
#3E29A3 #A32951 #8EA329 #29A37B
square
#3E29A3 #A32951 #8EA329 #29A37B
split-complementary
#3E29A3 #A37B29 #51A329
monochromatic
#191041 #2B1D72 #3E29A3 #553BCE #7F6CDA

Accessibility & contrast

On white

10.24
#3E29A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3E29A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E29A3
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E29A3#FFFFFF#000000##FFFFFF
##3E29A31.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e29a3;
/* rgb */ color: rgb(62, 41, 163);
/* oklch */ color: oklch(39.4% 0.184 281.8);
Tailwind
colors: {
  custom: {
    50: '#8065bf',
    500: '#3e29a3',
    950: '#000000',
  },
}
SCSS
$custom: #3e29a3;
$custom-light: #8065bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e29a3",
  "rgb": {
    "r": 62,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 250.328,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.3938,
    "c": 0.18354,
    "h": 281.8
  },
  "luminance": 0.05254
}

Semantic roles & 50–950 ramp

primary
#3E29A3
secondary
#B1C167
accent
#E345C8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E29A3

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

Preview Lab → · Contrast checker → · Palette generator →

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