#3D24A3#3D24A3

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

Color values

HEX#3D24A3
RGBrgb(61, 36, 163)
HSLhsl(252, 64%, 39%)
HSVhsv(252, 78%, 64%)
CMYKcmyk(62.6%, 77.9%, 0%, 36.1%)
CIE-LABlab(26.44, 46.34, -63.97)
CIE-LCHlch(26.44, 78.99, 305.92°)
OKLaboklab(38.65% 0.0393 -0.1845)
OKLCHoklch(38.65% 0.189 282)
XYZxyz(9.1641, 4.8975, 35.1056)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D24A3 #8AA324
analogous
#244BA3 #3D24A3 #7D24A3
triadic
#3D24A3 #A33D24 #24A33D
tetradic
#3D24A3 #A3244B #8AA324 #24A37D
square
#3D24A3 #A3244B #8AA324 #24A37D
split-complementary
#3D24A3 #A37D24 #4BA324
monochromatic
#170E3F #2A1971 #3D24A3 #5232D2 #7C65DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D24A3#FFFFFF#000000##FFFFFF
##3D24A31.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)
#0043A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d24a3;
/* rgb */ color: rgb(61, 36, 163);
/* oklch */ color: oklch(38.7% 0.189 282.0);
Tailwind
colors: {
  custom: {
    50: '#8063bf',
    500: '#3d24a3',
    950: '#000000',
  },
}
SCSS
$custom: #3d24a3;
$custom-light: #8063bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d24a3",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 251.811,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38651,
    "c": 0.18864,
    "h": 282
  },
  "luminance": 0.04898
}

Semantic roles & 50–950 ramp

primary
#3D24A3
secondary
#AFC260
accent
#E741C6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3D24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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