#3E299E#3E299E

#3E299E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.177 H 282.6°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#3E299E
RGBrgb(62, 41, 158)
HSLhsl(251, 59%, 39%)
HSVhsv(251, 74%, 62%)
CMYKcmyk(60.8%, 74.1%, 0%, 38%)
CIE-LABlab(26.96, 42.31, -60.08)
CIE-LCHlch(26.96, 73.48, 305.16°)
OKLaboklab(38.89% 0.0386 -0.1732)
OKLCHoklch(38.89% 0.177 282.6)
XYZxyz(8.9492, 5.0780, 32.8497)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E299E #899E29
analogous
#294F9E #3E299E #79299E
triadic
#3E299E #9E3E29 #299E3E
tetradic
#3E299E #9E294F #899E29 #299E79
square
#3E299E #9E294F #899E29 #299E79
split-complementary
#3E299E #9E7929 #4F9E29
monochromatic
#18103D #2B1C6D #3E299E #5339CC #7D69D8

Accessibility & contrast

On white

10.42
#3E299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E299E
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E299E#FFFFFF#000000##FFFFFF
##3E299E1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e299e;
/* rgb */ color: rgb(62, 41, 158);
/* oklch */ color: oklch(38.9% 0.177 282.6);
Tailwind
colors: {
  custom: {
    50: '#7f65bc',
    500: '#3e299e',
    950: '#000000',
  },
}
SCSS
$custom: #3e299e;
$custom-light: #7f65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e299e",
  "rgb": {
    "r": 62,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 250.769,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38885,
    "c": 0.17741,
    "h": 282.6
  },
  "luminance": 0.05079
}

Semantic roles & 50–950 ramp

primary
#3E299E
secondary
#AEBF64
accent
#E246C6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E299E

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

Preview Lab → · Contrast checker → · Palette generator →

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