#3A24A5#3A24A5

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

Color values

HEX#3A24A5
RGBrgb(58, 36, 165)
HSLhsl(250, 64%, 39%)
HSVhsv(250, 78%, 65%)
CMYKcmyk(64.8%, 78.2%, 0%, 35.3%)
CIE-LABlab(26.38, 46.60, -65.29)
CIE-LCHlch(26.38, 80.21, 305.52°)
OKLaboklab(38.61% 0.0343 -0.1884)
OKLCHoklch(38.61% 0.192 280.3)
XYZxyz(9.1652, 4.8772, 36.0484)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A24A5 #8FA524
analogous
#244EA5 #3A24A5 #7B24A5
triadic
#3A24A5 #A53A24 #24A53A
tetradic
#3A24A5 #A5244E #8FA524 #24A57B
square
#3A24A5 #A5244E #8FA524 #24A57B
split-complementary
#3A24A5 #A57B24 #4EA524
monochromatic
#170E41 #281973 #3A24A5 #4F34D3 #7A66DE

Accessibility & contrast

On white

10.63
#3A24A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3A24A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A24A5
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A24A5#FFFFFF#000000##FFFFFF
##3A24A51.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#0039A3
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a24a5;
/* rgb */ color: rgb(58, 36, 165);
/* oklch */ color: oklch(38.6% 0.192 280.3);
Tailwind
colors: {
  custom: {
    50: '#7f62c1',
    500: '#3a24a5',
    950: '#000000',
  },
}
SCSS
$custom: #3a24a5;
$custom-light: #7f62c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a24a5",
  "rgb": {
    "r": 58,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 250.233,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38606,
    "c": 0.19153,
    "h": 280.3
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#3A24A5
secondary
#B3C362
accent
#E741CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3A24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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