#3D24A6#3D24A6

#3D24A6 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.192 H 281.5°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#3D24A6
RGBrgb(61, 36, 166)
HSLhsl(252, 64%, 40%)
HSVhsv(252, 78%, 65%)
CMYKcmyk(63.3%, 78.3%, 0%, 34.9%)
CIE-LABlab(26.75, 47.24, -65.27)
CIE-LCHlch(26.75, 80.57, 305.90°)
OKLaboklab(38.96% 0.0384 -0.1883)
OKLCHoklch(38.96% 0.192 281.5)
XYZxyz(9.4361, 5.0063, 36.5381)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D24A6 #8DA624
analogous
#244CA6 #3D24A6 #7E24A6
triadic
#3D24A6 #A63D24 #24A63D
tetradic
#3D24A6 #A6244C #8DA624 #24A67E
square
#3D24A6 #A6244C #8DA624 #24A67E
split-complementary
#3D24A6 #A67E24 #4CA624
monochromatic
#180E41 #2B1974 #3D24A6 #5334D3 #7D66DE

Accessibility & contrast

On white

10.49
#3D24A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3D24A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D24A6
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D24A6#FFFFFF#000000##FFFFFF
##3D24A61.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d24a6;
/* rgb */ color: rgb(61, 36, 166);
/* oklch */ color: oklch(39.0% 0.192 281.5);
Tailwind
colors: {
  custom: {
    50: '#8163c2',
    500: '#3d24a6',
    950: '#000000',
  },
}
SCSS
$custom: #3d24a6;
$custom-light: #8163c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d24a6",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 251.538,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38962,
    "c": 0.19219,
    "h": 281.5
  },
  "luminance": 0.05007
}

Semantic roles & 50–950 ramp

primary
#3D24A6
secondary
#B1C462
accent
#E740C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3D24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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