#3B24AC#3B24AC

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

Color values

HEX#3B24AC
RGBrgb(59, 36, 172)
HSLhsl(250, 65%, 41%)
HSVhsv(250, 79%, 67%)
CMYKcmyk(65.7%, 79.1%, 0%, 32.5%)
CIE-LABlab(27.21, 48.83, -68.14)
CIE-LCHlch(27.21, 83.82, 305.62°)
OKLaboklab(39.43% 0.0338 -0.1967)
OKLCHoklch(39.43% 0.2 279.7)
XYZxyz(9.8785, 5.1693, 39.4989)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B24AC #95AC24
analogous
#2451AC #3B24AC #7F24AC
triadic
#3B24AC #AC3B24 #24AC3B
tetradic
#3B24AC #AC2451 #95AC24 #24AC7F
square
#3B24AC #AC2451 #95AC24 #24AC7F
split-complementary
#3B24AC #AC7F24 #51AC24
monochromatic
#180F47 #2A1979 #3B24AC #5338D5 #7E6AE0

Accessibility & contrast

On white

10.32
#3B24AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B24AC
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B24AC#FFFFFF#000000##FFFFFF
##3B24AC1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#003BAA
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3b24ac;
/* rgb */ color: rgb(59, 36, 172);
/* oklch */ color: oklch(39.4% 0.200 279.7);
Tailwind
colors: {
  custom: {
    50: '#8163c6',
    500: '#3b24ac',
    950: '#000000',
  },
}
SCSS
$custom: #3b24ac;
$custom-light: #8163c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b24ac",
  "rgb": {
    "r": 59,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 250.147,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39428,
    "c": 0.1996,
    "h": 279.7
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#3B24AC
secondary
#B6C666
accent
#E83FCC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3B24AC

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

Preview Lab → · Contrast checker → · Palette generator →

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