#3D24B4#3D24B4

#3D24B4 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.4% C 0.208 H 279.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#3D24B4
RGBrgb(61, 36, 180)
HSLhsl(250, 67%, 42%)
HSVhsv(250, 80%, 71%)
CMYKcmyk(66.1%, 80%, 0%, 29.4%)
CIE-LABlab(28.24, 51.41, -71.22)
CIE-LCHlch(28.24, 87.83, 305.82°)
OKLaboklab(40.44% 0.0344 -0.2056)
OKLCHoklch(40.44% 0.208 279.5)
XYZxyz(10.7909, 5.5483, 43.6734)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D24B4 #9BB424
analogous
#2453B4 #3D24B4 #8524B4
triadic
#3D24B4 #B43D24 #24B43D
tetradic
#3D24B4 #B42453 #9BB424 #24B485
square
#3D24B4 #B42453 #9BB424 #24B485
split-complementary
#3D24B4 #B48524 #53B424
monochromatic
#1A104E #2C1A81 #3D24B4 #583DD8 #8470E2

Accessibility & contrast

On white

9.95
#3D24B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3D24B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D24B4
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D24B4#FFFFFF#000000##FFFFFF
##3D24B41.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d24b4;
/* rgb */ color: rgb(61, 36, 180);
/* oklch */ color: oklch(40.4% 0.208 279.5);
Tailwind
colors: {
  custom: {
    50: '#8364cc',
    500: '#3d24b4',
    950: '#000000',
  },
}
SCSS
$custom: #3d24b4;
$custom-light: #8364cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d24b4",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 180
  },
  "hsl": {
    "h": 250.417,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40442,
    "c": 0.20849,
    "h": 279.5
  },
  "luminance": 0.05549
}

Semantic roles & 50–950 ramp

primary
#3D24B4
secondary
#B9C96B
accent
#EA3ECC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3D24B4

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

Preview Lab → · Contrast checker → · Palette generator →

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