#3E29A5#3E29A5

#3E29A5 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.186 H 281.5°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#3E29A5
RGBrgb(62, 41, 165)
HSLhsl(250, 60%, 40%)
HSVhsv(250, 75%, 65%)
CMYKcmyk(62.4%, 75.2%, 0%, 35.3%)
CIE-LABlab(27.64, 44.48, -63.19)
CIE-LCHlch(27.64, 77.28, 305.14°)
OKLaboklab(39.58% 0.0369 -0.1823)
OKLCHoklch(39.58% 0.186 281.5)
XYZxyz(9.5689, 5.3259, 36.1138)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E29A5 #90A529
analogous
#2952A5 #3E29A5 #7C29A5
triadic
#3E29A5 #A53E29 #29A53E
tetradic
#3E29A5 #A52952 #90A529 #29A57C
square
#3E29A5 #A52952 #90A529 #29A57C
split-complementary
#3E29A5 #A57C29 #52A529
monochromatic
#191143 #2C1D74 #3E29A5 #553DCF #806EDB

Accessibility & contrast

On white

10.17
#3E29A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3E29A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E29A5
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E29A5#FFFFFF#000000##FFFFFF
##3E29A51.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e29a5;
/* rgb */ color: rgb(62, 41, 165);
/* oklch */ color: oklch(39.6% 0.186 281.5);
Tailwind
colors: {
  custom: {
    50: '#8066c1',
    500: '#3e29a5',
    950: '#000000',
  },
}
SCSS
$custom: #3e29a5;
$custom-light: #8066c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e29a5",
  "rgb": {
    "r": 62,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 250.161,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39579,
    "c": 0.18598,
    "h": 281.5
  },
  "luminance": 0.05327
}

Semantic roles & 50–950 ramp

primary
#3E29A5
secondary
#B2C268
accent
#E344C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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