#3A24A3#3A24A3

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

Color values

HEX#3A24A3
RGBrgb(58, 36, 163)
HSLhsl(250, 64%, 39%)
HSVhsv(250, 78%, 64%)
CMYKcmyk(64.4%, 77.9%, 0%, 36.1%)
CIE-LABlab(26.17, 45.99, -64.42)
CIE-LCHlch(26.17, 79.15, 305.52°)
OKLaboklab(38.4% 0.0348 -0.1859)
OKLCHoklch(38.4% 0.189 280.6)
XYZxyz(8.9846, 4.8049, 35.0972)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A24A3 #8DA324
analogous
#244EA3 #3A24A3 #7A24A3
triadic
#3A24A3 #A33A24 #24A33A
tetradic
#3A24A3 #A3244E #8DA324 #24A37A
square
#3A24A3 #A3244E #8DA324 #24A37A
split-complementary
#3A24A3 #A37A24 #4EA324
monochromatic
#160E3F #281971 #3A24A3 #4E32D2 #7965DD

Accessibility & contrast

On white

10.71
#3A24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3A24A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A24A3
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A24A3#FFFFFF#000000##FFFFFF
##3A24A31.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.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: #3a24a3;
/* rgb */ color: rgb(58, 36, 163);
/* oklch */ color: oklch(38.4% 0.189 280.6);
Tailwind
colors: {
  custom: {
    50: '#7f62bf',
    500: '#3a24a3',
    950: '#000000',
  },
}
SCSS
$custom: #3a24a3;
$custom-light: #7f62bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a24a3",
  "rgb": {
    "r": 58,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 250.394,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38396,
    "c": 0.18915,
    "h": 280.6
  },
  "luminance": 0.04806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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