#3E24A2#3E24A2

#3E24A2 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.187 H 282.7°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#3E24A2
RGBrgb(62, 36, 162)
HSLhsl(252, 64%, 39%)
HSVhsv(252, 78%, 64%)
CMYKcmyk(61.7%, 77.8%, 0%, 36.5%)
CIE-LABlab(26.43, 46.16, -63.37)
CIE-LCHlch(26.43, 78.40, 306.07°)
OKLaboklab(38.64% 0.0411 -0.1827)
OKLCHoklch(38.64% 0.187 282.7)
XYZxyz(9.1370, 4.8939, 34.6385)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E24A2 #88A224
analogous
#2449A2 #3E24A2 #7D24A2
triadic
#3E24A2 #A23E24 #24A23E
tetradic
#3E24A2 #A22449 #88A224 #24A27D
square
#3E24A2 #A22449 #88A224 #24A27D
split-complementary
#3E24A2 #A27D24 #49A224
monochromatic
#180E3E #2B1970 #3E24A2 #5332D1 #7D64DD

Accessibility & contrast

On white

10.61
#3E24A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3E24A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E24A2
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E24A2#FFFFFF#000000##FFFFFF
##3E24A21.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A6
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e24a2;
/* rgb */ color: rgb(62, 36, 162);
/* oklch */ color: oklch(38.6% 0.187 282.7);
Tailwind
colors: {
  custom: {
    50: '#8063bf',
    500: '#3e24a2',
    950: '#000000',
  },
}
SCSS
$custom: #3e24a2;
$custom-light: #8063bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e24a2",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 252.381,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38636,
    "c": 0.18731,
    "h": 282.7
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#3E24A2
secondary
#AEC260
accent
#E741C5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3E24A2

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

Preview Lab → · Contrast checker → · Palette generator →

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