#3A2499#3A2499

#3A2499 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.177 H 282.2°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#3A2499
RGBrgb(58, 36, 153)
HSLhsl(251, 62%, 37%)
HSVhsv(251, 76%, 60%)
CMYKcmyk(62.1%, 76.5%, 0%, 40%)
CIE-LABlab(25.14, 42.92, -60.02)
CIE-LCHlch(25.14, 73.79, 305.57°)
OKLaboklab(37.36% 0.0375 -0.1731)
OKLCHoklch(37.36% 0.177 282.2)
XYZxyz(8.1238, 4.4606, 30.5637)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2499 #839924
analogous
#244999 #3A2499 #752499
triadic
#3A2499 #993A24 #24993A
tetradic
#3A2499 #992449 #839924 #249975
square
#3A2499 #992449 #839924 #249975
split-complementary
#3A2499 #997524 #499924
monochromatic
#140D36 #271867 #3A2499 #4D30CB #755ED9

Accessibility & contrast

On white

11.10
#3A2499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3A2499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2499
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2499#FFFFFF#000000##FFFFFF
##3A24991.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3a2499;
/* rgb */ color: rgb(58, 36, 153);
/* oklch */ color: oklch(37.4% 0.177 282.2);
Tailwind
colors: {
  custom: {
    50: '#7d62b8',
    500: '#3a2499',
    950: '#000000',
  },
}
SCSS
$custom: #3a2499;
$custom-light: #7d62b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2499",
  "rgb": {
    "r": 58,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 251.282,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37363,
    "c": 0.1771,
    "h": 282.2
  },
  "luminance": 0.04461
}

Semantic roles & 50–950 ramp

primary
#3A2499
secondary
#ABBE5B
accent
#E543C6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3A2499

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

Preview Lab → · Contrast checker → · Palette generator →

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