#3D24AA#3D24AA

#3D24AA is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.197 H 280.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#3D24AA
RGBrgb(61, 36, 170)
HSLhsl(251, 65%, 40%)
HSVhsv(251, 79%, 67%)
CMYKcmyk(64.1%, 78.8%, 0%, 33.3%)
CIE-LABlab(27.17, 48.44, -66.99)
CIE-LCHlch(27.17, 82.67, 305.87°)
OKLaboklab(39.38% 0.0373 -0.1933)
OKLCHoklch(39.38% 0.197 280.9)
XYZxyz(9.8088, 5.1554, 38.5006)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D24AA #91AA24
analogous
#244EAA #3D24AA #8024AA
triadic
#3D24AA #AA3D24 #24AA3D
tetradic
#3D24AA #AA244E #91AA24 #24AA80
square
#3D24AA #AA244E #91AA24 #24AA80
split-complementary
#3D24AA #AA8024 #4EAA24
monochromatic
#190F45 #2B1977 #3D24AA #5437D5 #7F69DF

Accessibility & contrast

On white

10.34
#3D24AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3D24AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D24AA
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D24AA#FFFFFF#000000##FFFFFF
##3D24AA1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d24aa;
/* rgb */ color: rgb(61, 36, 170);
/* oklch */ color: oklch(39.4% 0.197 280.9);
Tailwind
colors: {
  custom: {
    50: '#8163c5',
    500: '#3d24aa',
    950: '#000000',
  },
}
SCSS
$custom: #3d24aa;
$custom-light: #8163c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d24aa",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 251.194,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39381,
    "c": 0.1969,
    "h": 280.9
  },
  "luminance": 0.05156
}

Semantic roles & 50–950 ramp

primary
#3D24AA
secondary
#B3C565
accent
#E840C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3D24AA

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

Preview Lab → · Contrast checker → · Palette generator →

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