#3E299A#3E299A

#3E299A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.172 H 283.2°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#3E299A
RGBrgb(62, 41, 154)
HSLhsl(251, 58%, 38%)
HSVhsv(251, 73%, 60%)
CMYKcmyk(59.7%, 73.4%, 0%, 39.6%)
CIE-LABlab(26.57, 41.07, -58.27)
CIE-LCHlch(26.57, 71.29, 305.18°)
OKLaboklab(38.5% 0.0395 -0.1679)
OKLCHoklch(38.5% 0.172 283.2)
XYZxyz(8.6105, 4.9425, 31.0659)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E299A #859A29
analogous
#294D9A #3E299A #76299A
triadic
#3E299A #9A3E29 #299A3E
tetradic
#3E299A #9A294D #859A29 #299A76
square
#3E299A #9A294D #859A29 #299A76
split-complementary
#3E299A #9A7629 #4D9A29
monochromatic
#170F39 #2B1C6A #3E299A #5237CA #7C67D7

Accessibility & contrast

On white

10.56
#3E299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3E299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E299A
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E299A#FFFFFF#000000##FFFFFF
##3E299A1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#03485F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e299a;
/* rgb */ color: rgb(62, 41, 154);
/* oklch */ color: oklch(38.5% 0.172 283.2);
Tailwind
colors: {
  custom: {
    50: '#7e65b9',
    500: '#3e299a',
    950: '#000000',
  },
}
SCSS
$custom: #3e299a;
$custom-light: #7e65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e299a",
  "rgb": {
    "r": 62,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 251.15,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38495,
    "c": 0.17245,
    "h": 283.2
  },
  "luminance": 0.04943
}

Semantic roles & 50–950 ramp

primary
#3E299A
secondary
#ACBD62
accent
#E147C4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E299A

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

Preview Lab → · Contrast checker → · Palette generator →

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