#3E299F#3E299F

#3E299F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.179 H 282.4°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#3E299F
RGBrgb(62, 41, 159)
HSLhsl(251, 59%, 39%)
HSVhsv(251, 74%, 62%)
CMYKcmyk(61%, 74.2%, 0%, 37.6%)
CIE-LABlab(27.05, 42.62, -60.53)
CIE-LCHlch(27.05, 74.03, 305.15°)
OKLaboklab(38.98% 0.0384 -0.1745)
OKLCHoklch(38.98% 0.179 282.4)
XYZxyz(9.0356, 5.1126, 33.3049)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E299F #8A9F29
analogous
#294F9F #3E299F #79299F
triadic
#3E299F #9F3E29 #299F3E
tetradic
#3E299F #9F294F #8A9F29 #299F79
square
#3E299F #9F294F #8A9F29 #299F79
split-complementary
#3E299F #9F7929 #4F9F29
monochromatic
#18103E #2B1C6E #3E299F #5339CC #7E6AD9

Accessibility & contrast

On white

10.38
#3E299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3E299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E299F
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E299F#FFFFFF#000000##FFFFFF
##3E299F1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e299f;
/* rgb */ color: rgb(62, 41, 159);
/* oklch */ color: oklch(39.0% 0.179 282.4);
Tailwind
colors: {
  custom: {
    50: '#7f65bc',
    500: '#3e299f',
    950: '#000000',
  },
}
SCSS
$custom: #3e299f;
$custom-light: #7f65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e299f",
  "rgb": {
    "r": 62,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 250.678,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38984,
    "c": 0.17864,
    "h": 282.4
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#3E299F
secondary
#AFBF65
accent
#E246C6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E299F

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

Preview Lab → · Contrast checker → · Palette generator →

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