#3A24A2#3A24A2

#3A24A2 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.188 H 280.8°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#3A24A2
RGBrgb(58, 36, 162)
HSLhsl(250, 64%, 39%)
HSVhsv(250, 78%, 64%)
CMYKcmyk(64.2%, 77.8%, 0%, 36.5%)
CIE-LABlab(26.07, 45.69, -63.99)
CIE-LCHlch(26.07, 78.62, 305.53°)
OKLaboklab(38.29% 0.0351 -0.1846)
OKLCHoklch(38.29% 0.188 280.8)
XYZxyz(8.8953, 4.7692, 34.6272)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A24A2 #8CA224
analogous
#244DA2 #3A24A2 #7924A2
triadic
#3A24A2 #A23A24 #24A23A
tetradic
#3A24A2 #A2244D #8CA224 #24A279
square
#3A24A2 #A2244D #8CA224 #24A279
split-complementary
#3A24A2 #A27924 #4DA224
monochromatic
#160E3E #281970 #3A24A2 #4E32D1 #7964DD

Accessibility & contrast

On white

10.75
#3A24A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3A24A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A24A2
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A24A2#FFFFFF#000000##FFFFFF
##3A24A21.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A6
Deuteranopia (green-blind)
#0039A0
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a24a2;
/* rgb */ color: rgb(58, 36, 162);
/* oklch */ color: oklch(38.3% 0.188 280.8);
Tailwind
colors: {
  custom: {
    50: '#7e62bf',
    500: '#3a24a2',
    950: '#000000',
  },
}
SCSS
$custom: #3a24a2;
$custom-light: #7e62bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a24a2",
  "rgb": {
    "r": 58,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 250.476,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38292,
    "c": 0.18796,
    "h": 280.8
  },
  "luminance": 0.0477
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A24A2

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

Preview Lab → · Contrast checker → · Palette generator →

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