#3D24A4#3D24A4

#3D24A4 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.190 H 281.9°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#3D24A4
RGBrgb(61, 36, 164)
HSLhsl(252, 64%, 39%)
HSVhsv(252, 78%, 64%)
CMYKcmyk(62.8%, 78%, 0%, 35.7%)
CIE-LABlab(26.54, 46.64, -64.40)
CIE-LCHlch(26.54, 79.52, 305.91°)
OKLaboklab(38.76% 0.039 -0.1858)
OKLCHoklch(38.76% 0.19 281.9)
XYZxyz(9.2541, 4.9335, 35.5794)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D24A4 #8BA424
analogous
#244BA4 #3D24A4 #7D24A4
triadic
#3D24A4 #A43D24 #24A43D
tetradic
#3D24A4 #A4244B #8BA424 #24A47D
square
#3D24A4 #A4244B #8BA424 #24A47D
split-complementary
#3D24A4 #A47D24 #4BA424
monochromatic
#180E40 #2A1972 #3D24A4 #5233D2 #7D65DD

Accessibility & contrast

On white

10.57
#3D24A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3D24A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D24A4
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D24A4#FFFFFF#000000##FFFFFF
##3D24A41.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d24a4;
/* rgb */ color: rgb(61, 36, 164);
/* oklch */ color: oklch(38.8% 0.190 281.9);
Tailwind
colors: {
  custom: {
    50: '#8063c0',
    500: '#3d24a4',
    950: '#000000',
  },
}
SCSS
$custom: #3d24a4;
$custom-light: #8063c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d24a4",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 251.719,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38755,
    "c": 0.18983,
    "h": 281.9
  },
  "luminance": 0.04934
}

Semantic roles & 50–950 ramp

primary
#3D24A4
secondary
#B0C361
accent
#E741C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3D24A4

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

Preview Lab → · Contrast checker → · Palette generator →

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