#3D24A7#3D24A7

#3D24A7 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.193 H 281.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#3D24A7
RGBrgb(61, 36, 167)
HSLhsl(251, 65%, 40%)
HSVhsv(251, 78%, 65%)
CMYKcmyk(63.5%, 78.4%, 0%, 34.5%)
CIE-LABlab(26.86, 47.54, -65.70)
CIE-LCHlch(26.86, 81.10, 305.89°)
OKLaboklab(39.07% 0.0382 -0.1896)
OKLCHoklch(39.07% 0.193 281.4)
XYZxyz(9.5282, 5.0432, 37.0230)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D24A7 #8EA724
analogous
#244DA7 #3D24A7 #7E24A7
triadic
#3D24A7 #A73D24 #24A73D
tetradic
#3D24A7 #A7244D #8EA724 #24A77E
square
#3D24A7 #A7244D #8EA724 #24A77E
split-complementary
#3D24A7 #A77E24 #4DA724
monochromatic
#180E42 #2B1975 #3D24A7 #5335D3 #7E67DE

Accessibility & contrast

On white

10.45
#3D24A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3D24A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D24A7
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D24A7#FFFFFF#000000##FFFFFF
##3D24A71.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d24a7;
/* rgb */ color: rgb(61, 36, 167);
/* oklch */ color: oklch(39.1% 0.193 281.4);
Tailwind
colors: {
  custom: {
    50: '#8163c2',
    500: '#3d24a7',
    950: '#000000',
  },
}
SCSS
$custom: #3d24a7;
$custom-light: #8163c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d24a7",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 251.45,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39067,
    "c": 0.19337,
    "h": 281.4
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D24A7

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

Preview Lab → · Contrast checker → · Palette generator →

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