#3E29A4#3E29A4

#3E29A4 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.185 H 281.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#3E29A4
RGBrgb(62, 41, 164)
HSLhsl(250, 60%, 40%)
HSVhsv(250, 75%, 64%)
CMYKcmyk(62.2%, 75%, 0%, 35.7%)
CIE-LABlab(27.54, 44.17, -62.75)
CIE-LCHlch(27.54, 76.74, 305.14°)
OKLaboklab(39.48% 0.0372 -0.181)
OKLCHoklch(39.48% 0.185 281.6)
XYZxyz(9.4783, 5.2897, 35.6363)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E29A4 #8FA429
analogous
#2951A4 #3E29A4 #7B29A4
triadic
#3E29A4 #A43E29 #29A43E
tetradic
#3E29A4 #A42951 #8FA429 #29A47B
square
#3E29A4 #A42951 #8FA429 #29A47B
split-complementary
#3E29A4 #A47B29 #51A429
monochromatic
#191142 #2B1D73 #3E29A4 #553CCE #806DDA

Accessibility & contrast

On white

10.20
#3E29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E29A4
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E29A4#FFFFFF#000000##FFFFFF
##3E29A41.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003DA2
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e29a4;
/* rgb */ color: rgb(62, 41, 164);
/* oklch */ color: oklch(39.5% 0.185 281.6);
Tailwind
colors: {
  custom: {
    50: '#8066c0',
    500: '#3e29a4',
    950: '#000000',
  },
}
SCSS
$custom: #3e29a4;
$custom-light: #8066c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e29a4",
  "rgb": {
    "r": 62,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 250.244,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39479,
    "c": 0.18476,
    "h": 281.6
  },
  "luminance": 0.0529
}

Semantic roles & 50–950 ramp

primary
#3E29A4
secondary
#B2C168
accent
#E345C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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