#3D24B3#3D24B3

#3D24B3 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.3% C 0.207 H 279.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#3D24B3
RGBrgb(61, 36, 179)
HSLhsl(250, 67%, 42%)
HSVhsv(250, 80%, 70%)
CMYKcmyk(65.9%, 79.9%, 0%, 29.8%)
CIE-LABlab(28.13, 51.11, -70.80)
CIE-LCHlch(28.13, 87.32, 305.83°)
OKLaboklab(40.34% 0.0347 -0.2044)
OKLCHoklch(40.34% 0.207 279.6)
XYZxyz(10.6894, 5.5077, 43.1389)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D24B3 #9AB324
analogous
#2452B3 #3D24B3 #8524B3
triadic
#3D24B3 #B33D24 #24B33D
tetradic
#3D24B3 #B32452 #9AB324 #24B385
square
#3D24B3 #B32452 #9AB324 #24B385
split-complementary
#3D24B3 #B38524 #52B324
monochromatic
#1A104D #2C1A80 #3D24B3 #583CD8 #836FE2

Accessibility & contrast

On white

9.99
#3D24B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3D24B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D24B3
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D24B3#FFFFFF#000000##FFFFFF
##3D24B31.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d24b3;
/* rgb */ color: rgb(61, 36, 179);
/* oklch */ color: oklch(40.3% 0.207 279.6);
Tailwind
colors: {
  custom: {
    50: '#8363cb',
    500: '#3d24b3',
    950: '#000000',
  },
}
SCSS
$custom: #3d24b3;
$custom-light: #8363cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d24b3",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 179
  },
  "hsl": {
    "h": 250.49,
    "s": 66.512,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40335,
    "c": 0.20734,
    "h": 279.6
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

primary
#3D24B3
secondary
#B8C96A
accent
#E93ECC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D24B3

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

Preview Lab → · Contrast checker → · Palette generator →

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