#3A2595#3A2595

#3A2595 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.171 H 282.7°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#3A2595
RGBrgb(58, 37, 149)
HSLhsl(251, 60%, 36%)
HSVhsv(251, 75%, 58%)
CMYKcmyk(61.1%, 75.2%, 0%, 41.6%)
CIE-LABlab(24.93, 41.14, -57.91)
CIE-LCHlch(24.93, 71.04, 305.39°)
OKLaboklab(37.09% 0.0378 -0.1669)
OKLCHoklch(37.09% 0.171 282.7)
XYZxyz(7.8296, 4.3921, 28.8631)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2595 #809525
analogous
#254895 #3A2595 #722595
triadic
#3A2595 #953A25 #25953A
tetradic
#3A2595 #952548 #809525 #259572
square
#3A2595 #952548 #809525 #259572
split-complementary
#3A2595 #957225 #489525
monochromatic
#140D33 #271964 #3A2595 #4D31C6 #745ED7

Accessibility & contrast

On white

11.18
#3A2595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3A2595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2595
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2595#FFFFFF#000000##FFFFFF
##3A25951.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3a2595;
/* rgb */ color: rgb(58, 37, 149);
/* oklch */ color: oklch(37.1% 0.171 282.7);
Tailwind
colors: {
  custom: {
    50: '#7c62b5',
    500: '#3a2595',
    950: '#000000',
  },
}
SCSS
$custom: #3a2595;
$custom-light: #7c62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2595",
  "rgb": {
    "r": 58,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 251.25,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37092,
    "c": 0.17115,
    "h": 282.7
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#3A2595
secondary
#A9BC5A
accent
#E344C6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3A2595

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

Preview Lab → · Contrast checker → · Palette generator →

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