#3A2492#3A2492

#3A2492 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.168 H 283.5°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#3A2492
RGBrgb(58, 36, 146)
HSLhsl(252, 60%, 36%)
HSVhsv(252, 75%, 57%)
CMYKcmyk(60.3%, 75.3%, 0%, 42.7%)
CIE-LABlab(24.44, 40.76, -56.87)
CIE-LCHlch(24.44, 69.96, 305.63°)
OKLaboklab(36.66% 0.0392 -0.1639)
OKLCHoklch(36.66% 0.168 283.5)
XYZxyz(7.5625, 4.2361, 27.6077)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2492 #7C9224
analogous
#244592 #3A2492 #712492
triadic
#3A2492 #923A24 #24923A
tetradic
#3A2492 #922445 #7C9224 #249271
square
#3A2492 #922445 #7C9224 #249271
split-complementary
#3A2492 #927124 #459224
monochromatic
#130C30 #261861 #3A2492 #4E30C3 #735AD6

Accessibility & contrast

On white

11.37
#3A2492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3A2492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2492
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2492#FFFFFF#000000##FFFFFF
##3A24921.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#014359
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3a2492;
/* rgb */ color: rgb(58, 36, 146);
/* oklch */ color: oklch(36.7% 0.168 283.5);
Tailwind
colors: {
  custom: {
    50: '#7b61b3',
    500: '#3a2492',
    950: '#000000',
  },
}
SCSS
$custom: #3a2492;
$custom-light: #7b61b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2492",
  "rgb": {
    "r": 58,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 252,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36656,
    "c": 0.16849,
    "h": 283.5
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#3A2492
secondary
#A7BB57
accent
#E444C4
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #3A2492

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

Preview Lab → · Contrast checker → · Palette generator →

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