#3A24A4#3A24A4

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

Color values

HEX#3A24A4
RGBrgb(58, 36, 164)
HSLhsl(250, 64%, 39%)
HSVhsv(250, 78%, 64%)
CMYKcmyk(64.6%, 78%, 0%, 35.7%)
CIE-LABlab(26.28, 46.30, -64.85)
CIE-LCHlch(26.28, 79.68, 305.52°)
OKLaboklab(38.5% 0.0346 -0.1872)
OKLCHoklch(38.5% 0.19 280.5)
XYZxyz(9.0745, 4.8409, 35.5710)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A24A4 #8EA424
analogous
#244EA4 #3A24A4 #7A24A4
triadic
#3A24A4 #A43A24 #24A43A
tetradic
#3A24A4 #A4244E #8EA424 #24A47A
square
#3A24A4 #A4244E #8EA424 #24A47A
split-complementary
#3A24A4 #A47A24 #4EA424
monochromatic
#170E40 #281972 #3A24A4 #4E33D2 #7A65DD

Accessibility & contrast

On white

10.67
#3A24A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A24A4
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A24A4#FFFFFF#000000##FFFFFF
##3A24A41.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a24a4;
/* rgb */ color: rgb(58, 36, 164);
/* oklch */ color: oklch(38.5% 0.190 280.5);
Tailwind
colors: {
  custom: {
    50: '#7f62c0',
    500: '#3a24a4',
    950: '#000000',
  },
}
SCSS
$custom: #3a24a4;
$custom-light: #7f62c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a24a4",
  "rgb": {
    "r": 58,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 250.313,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38501,
    "c": 0.19034,
    "h": 280.5
  },
  "luminance": 0.04842
}

Semantic roles & 50–950 ramp

primary
#3A24A4
secondary
#B2C361
accent
#E741CA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3A24A4

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

Preview Lab → · Contrast checker → · Palette generator →

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