#3E29A2#3E29A2

#3E29A2 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.182 H 281.9°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#3E29A2
RGBrgb(62, 41, 162)
HSLhsl(250, 60%, 40%)
HSVhsv(250, 75%, 64%)
CMYKcmyk(61.7%, 74.7%, 0%, 36.5%)
CIE-LABlab(27.35, 43.55, -61.87)
CIE-LCHlch(27.35, 75.66, 305.15°)
OKLaboklab(39.28% 0.0377 -0.1784)
OKLCHoklch(39.28% 0.182 281.9)
XYZxyz(9.2991, 5.2180, 34.6926)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E29A2 #8DA229
analogous
#2951A2 #3E29A2 #7A29A2
triadic
#3E29A2 #A23E29 #29A23E
tetradic
#3E29A2 #A22951 #8DA229 #29A27A
square
#3E29A2 #A22951 #8DA229 #29A27A
split-complementary
#3E29A2 #A27A29 #51A229
monochromatic
#191040 #2B1D71 #3E29A2 #543BCD #7F6CDA

Accessibility & contrast

On white

10.27
#3E29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3E29A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E29A2
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E29A2#FFFFFF#000000##FFFFFF
##3E29A21.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e29a2;
/* rgb */ color: rgb(62, 41, 162);
/* oklch */ color: oklch(39.3% 0.182 281.9);
Tailwind
colors: {
  custom: {
    50: '#8065bf',
    500: '#3e29a2',
    950: '#000000',
  },
}
SCSS
$custom: #3e29a2;
$custom-light: #8065bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e29a2",
  "rgb": {
    "r": 62,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 250.413,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.3928,
    "c": 0.18232,
    "h": 281.9
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#3E29A2
secondary
#B1C067
accent
#E345C7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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