#3D24A2#3D24A2

#3D24A2 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.187 H 282.2°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#3D24A2
RGBrgb(61, 36, 162)
HSLhsl(252, 64%, 39%)
HSVhsv(252, 78%, 64%)
CMYKcmyk(62.3%, 77.8%, 0%, 36.5%)
CIE-LABlab(26.34, 46.04, -63.53)
CIE-LCHlch(26.34, 78.46, 305.93°)
OKLaboklab(38.55% 0.0396 -0.1832)
OKLCHoklch(38.55% 0.187 282.2)
XYZxyz(9.0749, 4.8618, 34.6356)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D24A2 #89A224
analogous
#244AA2 #3D24A2 #7C24A2
triadic
#3D24A2 #A23D24 #24A23D
tetradic
#3D24A2 #A2244A #89A224 #24A27C
square
#3D24A2 #A2244A #89A224 #24A27C
split-complementary
#3D24A2 #A27C24 #4AA224
monochromatic
#170E3E #2A1970 #3D24A2 #5132D1 #7C64DD

Accessibility & contrast

On white

10.65
#3D24A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3D24A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D24A2
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D24A2#FFFFFF#000000##FFFFFF
##3D24A21.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A6
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d24a2;
/* rgb */ color: rgb(61, 36, 162);
/* oklch */ color: oklch(38.5% 0.187 282.2);
Tailwind
colors: {
  custom: {
    50: '#8062bf',
    500: '#3d24a2',
    950: '#000000',
  },
}
SCSS
$custom: #3d24a2;
$custom-light: #8062bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d24a2",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 251.905,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38548,
    "c": 0.18746,
    "h": 282.2
  },
  "luminance": 0.04862
}

Semantic roles & 50–950 ramp

primary
#3D24A2
secondary
#AEC260
accent
#E741C6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3D24A2

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

Preview Lab → · Contrast checker → · Palette generator →

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