#3D24A8#3D24A8

#3D24A8 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.195 H 281.2°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#3D24A8
RGBrgb(61, 36, 168)
HSLhsl(251, 65%, 40%)
HSVhsv(251, 79%, 66%)
CMYKcmyk(63.7%, 78.6%, 0%, 34.1%)
CIE-LABlab(26.96, 47.84, -66.13)
CIE-LCHlch(26.96, 81.62, 305.88°)
OKLaboklab(39.17% 0.0379 -0.1908)
OKLCHoklch(39.17% 0.195 281.2)
XYZxyz(9.6210, 5.0803, 37.5118)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D24A8 #8FA824
analogous
#244DA8 #3D24A8 #7F24A8
triadic
#3D24A8 #A83D24 #24A83D
tetradic
#3D24A8 #A8244D #8FA824 #24A87F
square
#3D24A8 #A8244D #8FA824 #24A87F
split-complementary
#3D24A8 #A87F24 #4DA824
monochromatic
#180E43 #2B1976 #3D24A8 #5335D4 #7E68DF

Accessibility & contrast

On white

10.42
#3D24A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3D24A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D24A8
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D24A8#FFFFFF#000000##FFFFFF
##3D24A81.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d24a8;
/* rgb */ color: rgb(61, 36, 168);
/* oklch */ color: oklch(39.2% 0.195 281.2);
Tailwind
colors: {
  custom: {
    50: '#8163c3',
    500: '#3d24a8',
    950: '#000000',
  },
}
SCSS
$custom: #3d24a8;
$custom-light: #8163c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d24a8",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 251.364,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.39171,
    "c": 0.19455,
    "h": 281.2
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

primary
#3D24A8
secondary
#B2C463
accent
#E840C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3D24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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