#3E24A7#3E24A7

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

Color values

HEX#3E24A7
RGBrgb(62, 36, 167)
HSLhsl(252, 65%, 40%)
HSVhsv(252, 78%, 65%)
CMYKcmyk(62.9%, 78.4%, 0%, 34.5%)
CIE-LABlab(26.95, 47.65, -65.55)
CIE-LCHlch(26.95, 81.04, 306.02°)
OKLaboklab(39.15% 0.0397 -0.1891)
OKLCHoklch(39.15% 0.193 281.8)
XYZxyz(9.5903, 5.0752, 37.0260)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E24A7 #8DA724
analogous
#244CA7 #3E24A7 #7F24A7
triadic
#3E24A7 #A73E24 #24A73E
tetradic
#3E24A7 #A7244C #8DA724 #24A77F
square
#3E24A7 #A7244C #8DA724 #24A77F
split-complementary
#3E24A7 #A77F24 #4CA724
monochromatic
#190E42 #2B1975 #3E24A7 #5435D3 #7F67DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E24A7#FFFFFF#000000##FFFFFF
##3E24A71.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)
#0044AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e24a7;
/* rgb */ color: rgb(62, 36, 167);
/* oklch */ color: oklch(39.2% 0.193 281.8);
Tailwind
colors: {
  custom: {
    50: '#8163c2',
    500: '#3e24a7',
    950: '#000000',
  },
}
SCSS
$custom: #3e24a7;
$custom-light: #8163c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e24a7",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 251.908,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39152,
    "c": 0.19321,
    "h": 281.8
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#3E24A7
secondary
#B1C463
accent
#E840C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3E24A7

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

Preview Lab → · Contrast checker → · Palette generator →

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