#3B24A3#3B24A3

#3B24A3 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.189 H 281.1°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#3B24A3
RGBrgb(59, 36, 163)
HSLhsl(251, 64%, 39%)
HSVhsv(251, 78%, 64%)
CMYKcmyk(63.8%, 77.9%, 0%, 36.1%)
CIE-LABlab(26.26, 46.11, -64.27)
CIE-LCHlch(26.26, 79.10, 305.65°)
OKLaboklab(38.48% 0.0363 -0.1855)
OKLCHoklch(38.48% 0.189 281.1)
XYZxyz(9.0433, 4.8352, 35.1000)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B24A3 #8CA324
analogous
#244DA3 #3B24A3 #7B24A3
triadic
#3B24A3 #A33B24 #24A33B
tetradic
#3B24A3 #A3244D #8CA324 #24A37B
square
#3B24A3 #A3244D #8CA324 #24A37B
split-complementary
#3B24A3 #A37B24 #4DA324
monochromatic
#170E3F #291971 #3B24A3 #4F32D2 #7A65DD

Accessibility & contrast

On white

10.68
#3B24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B24A3
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B24A3#FFFFFF#000000##FFFFFF
##3B24A31.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A7
Deuteranopia (green-blind)
#0039A1
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3b24a3;
/* rgb */ color: rgb(59, 36, 163);
/* oklch */ color: oklch(38.5% 0.189 281.1);
Tailwind
colors: {
  custom: {
    50: '#7f62bf',
    500: '#3b24a3',
    950: '#000000',
  },
}
SCSS
$custom: #3b24a3;
$custom-light: #7f62bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b24a3",
  "rgb": {
    "r": 59,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 250.866,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.3848,
    "c": 0.18898,
    "h": 281.1
  },
  "luminance": 0.04836
}

Semantic roles & 50–950 ramp

primary
#3B24A3
secondary
#B1C260
accent
#E741C9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3B24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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