#3A2596#3A2596

#3A2596 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.172 H 282.6°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#3A2596
RGBrgb(58, 37, 150)
HSLhsl(251, 60%, 37%)
HSVhsv(251, 75%, 59%)
CMYKcmyk(61.3%, 75.3%, 0%, 41.2%)
CIE-LABlab(25.03, 41.46, -58.36)
CIE-LCHlch(25.03, 71.59, 305.39°)
OKLaboklab(37.19% 0.0375 -0.1682)
OKLCHoklch(37.19% 0.172 282.6)
XYZxyz(7.9098, 4.4241, 29.2854)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2596 #819625
analogous
#254996 #3A2596 #732596
triadic
#3A2596 #963A25 #25963A
tetradic
#3A2596 #962549 #819625 #259673
square
#3A2596 #962549 #819625 #259673
split-complementary
#3A2596 #967325 #499625
monochromatic
#140D34 #271965 #3A2596 #4D31C7 #755ED7

Accessibility & contrast

On white

11.14
#3A2596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2596
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2596#FFFFFF#000000##FFFFFF
##3A25961.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3a2596;
/* rgb */ color: rgb(58, 37, 150);
/* oklch */ color: oklch(37.2% 0.172 282.6);
Tailwind
colors: {
  custom: {
    50: '#7c62b6',
    500: '#3a2596',
    950: '#000000',
  },
}
SCSS
$custom: #3a2596;
$custom-light: #7c62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2596",
  "rgb": {
    "r": 58,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 251.15,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37192,
    "c": 0.17238,
    "h": 282.6
  },
  "luminance": 0.04425
}

Semantic roles & 50–950 ramp

primary
#3A2596
secondary
#AABC5B
accent
#E444C6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3A2596

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

Preview Lab → · Contrast checker → · Palette generator →

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