#3D24A5#3D24A5

#3D24A5 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.191 H 281.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#3D24A5
RGBrgb(61, 36, 165)
HSLhsl(252, 64%, 39%)
HSVhsv(252, 78%, 65%)
CMYKcmyk(63%, 78.2%, 0%, 35.3%)
CIE-LABlab(26.65, 46.94, -64.84)
CIE-LCHlch(26.65, 80.05, 305.90°)
OKLaboklab(38.86% 0.0387 -0.187)
OKLCHoklch(38.86% 0.191 281.7)
XYZxyz(9.3447, 4.9698, 36.0568)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D24A5 #8CA524
analogous
#244CA5 #3D24A5 #7E24A5
triadic
#3D24A5 #A53D24 #24A53D
tetradic
#3D24A5 #A5244C #8CA524 #24A57E
square
#3D24A5 #A5244C #8CA524 #24A57E
split-complementary
#3D24A5 #A57E24 #4CA524
monochromatic
#180E41 #2A1973 #3D24A5 #5234D3 #7D66DE

Accessibility & contrast

On white

10.53
#3D24A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D24A5
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D24A5#FFFFFF#000000##FFFFFF
##3D24A51.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d24a5;
/* rgb */ color: rgb(61, 36, 165);
/* oklch */ color: oklch(38.9% 0.191 281.7);
Tailwind
colors: {
  custom: {
    50: '#8063c1',
    500: '#3d24a5',
    950: '#000000',
  },
}
SCSS
$custom: #3d24a5;
$custom-light: #8063c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d24a5",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 251.628,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38858,
    "c": 0.19102,
    "h": 281.7
  },
  "luminance": 0.0497
}

Semantic roles & 50–950 ramp

primary
#3D24A5
secondary
#B0C362
accent
#E741C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #3D24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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