#3B24A4#3B24A4

#3B24A4 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.190 H 280.9°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#3B24A4
RGBrgb(59, 36, 164)
HSLhsl(251, 64%, 39%)
HSVhsv(251, 78%, 64%)
CMYKcmyk(64%, 78%, 0%, 35.7%)
CIE-LABlab(26.36, 46.41, -64.71)
CIE-LCHlch(26.36, 79.63, 305.65°)
OKLaboklab(38.58% 0.036 -0.1867)
OKLCHoklch(38.58% 0.19 280.9)
XYZxyz(9.1332, 4.8712, 35.5737)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B24A4 #8DA424
analogous
#244DA4 #3B24A4 #7B24A4
triadic
#3B24A4 #A43B24 #24A43B
tetradic
#3B24A4 #A4244D #8DA424 #24A47B
square
#3B24A4 #A4244D #8DA424 #24A47B
split-complementary
#3B24A4 #A47B24 #4DA424
monochromatic
#170E40 #291972 #3B24A4 #5033D2 #7B65DD

Accessibility & contrast

On white

10.64
#3B24A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B24A4
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B24A4#FFFFFF#000000##FFFFFF
##3B24A41.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3b24a4;
/* rgb */ color: rgb(59, 36, 164);
/* oklch */ color: oklch(38.6% 0.190 280.9);
Tailwind
colors: {
  custom: {
    50: '#7f62c0',
    500: '#3b24a4',
    950: '#000000',
  },
}
SCSS
$custom: #3b24a4;
$custom-light: #7f62c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b24a4",
  "rgb": {
    "r": 59,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 250.781,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38584,
    "c": 0.19016,
    "h": 280.9
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#3B24A4
secondary
#B1C361
accent
#E741C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3B24A4

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

Preview Lab → · Contrast checker → · Palette generator →

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