#3E24A6#3E24A6

#3E24A6 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.192 H 282.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#3E24A6
RGBrgb(62, 36, 166)
HSLhsl(252, 64%, 40%)
HSVhsv(252, 78%, 65%)
CMYKcmyk(62.7%, 78.3%, 0%, 34.9%)
CIE-LABlab(26.84, 47.36, -65.12)
CIE-LCHlch(26.84, 80.52, 306.03°)
OKLaboklab(39.05% 0.0399 -0.1878)
OKLCHoklch(39.05% 0.192 282)
XYZxyz(9.4983, 5.0384, 36.5410)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E24A6 #8CA624
analogous
#244BA6 #3E24A6 #7F24A6
triadic
#3E24A6 #A63E24 #24A63E
tetradic
#3E24A6 #A6244B #8CA624 #24A67F
square
#3E24A6 #A6244B #8CA624 #24A67F
split-complementary
#3E24A6 #A67F24 #4BA624
monochromatic
#180E41 #2B1974 #3E24A6 #5434D3 #7E66DE

Accessibility & contrast

On white

10.46
#3E24A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3E24A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E24A6
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E24A6#FFFFFF#000000##FFFFFF
##3E24A61.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e24a6;
/* rgb */ color: rgb(62, 36, 166);
/* oklch */ color: oklch(39.0% 0.192 282.0);
Tailwind
colors: {
  custom: {
    50: '#8163c2',
    500: '#3e24a6',
    950: '#000000',
  },
}
SCSS
$custom: #3e24a6;
$custom-light: #8163c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e24a6",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 252,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39048,
    "c": 0.19204,
    "h": 282
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#3E24A6
secondary
#B0C462
accent
#E740C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3E24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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