#3D24B1#3D24B1

#3D24B1 is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.1% C 0.205 H 279.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#3D24B1
RGBrgb(61, 36, 177)
HSLhsl(251, 66%, 42%)
HSVhsv(251, 80%, 69%)
CMYKcmyk(65.5%, 79.7%, 0%, 30.6%)
CIE-LABlab(27.92, 50.52, -69.96)
CIE-LCHlch(27.92, 86.29, 305.83°)
OKLaboklab(40.12% 0.0353 -0.202)
OKLCHoklch(40.12% 0.205 279.9)
XYZxyz(10.4886, 5.4273, 42.0813)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D24B1 #98B124
analogous
#2452B1 #3D24B1 #8424B1
triadic
#3D24B1 #B13D24 #24B13D
tetradic
#3D24B1 #B12452 #98B124 #24B184
square
#3D24B1 #B12452 #98B124 #24B184
split-complementary
#3D24B1 #B18424 #52B124
monochromatic
#1A0F4B #2B1A7E #3D24B1 #573BD7 #826EE1

Accessibility & contrast

On white

10.07
#3D24B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3D24B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D24B1
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D24B1#FFFFFF#000000##FFFFFF
##3D24B11.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#003CAF
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d24b1;
/* rgb */ color: rgb(61, 36, 177);
/* oklch */ color: oklch(40.1% 0.205 279.9);
Tailwind
colors: {
  custom: {
    50: '#8363ca',
    500: '#3d24b1',
    950: '#000000',
  },
}
SCSS
$custom: #3d24b1;
$custom-light: #8363ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d24b1",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 250.638,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40121,
    "c": 0.20504,
    "h": 279.9
  },
  "luminance": 0.05428
}

Semantic roles & 50–950 ramp

primary
#3D24B1
secondary
#B7C869
accent
#E93FCB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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