#3A2095#3A2095

#3A2095 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.176 H 283.6°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#3A2095
RGBrgb(58, 32, 149)
HSLhsl(253, 65%, 35%)
HSVhsv(253, 79%, 58%)
CMYKcmyk(61.1%, 78.5%, 0%, 41.6%)
CIE-LABlab(24.01, 43.77, -59.43)
CIE-LCHlch(24.01, 73.81, 306.37°)
OKLaboklab(36.44% 0.0413 -0.1713)
OKLCHoklch(36.44% 0.176 283.6)
XYZxyz(7.6846, 4.1020, 28.8148)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2095 #7B9520
analogous
#204195 #3A2095 #742095
triadic
#3A2095 #953A20 #20953A
tetradic
#3A2095 #952041 #7B9520 #209574
square
#3A2095 #952041 #7B9520 #209574
split-complementary
#3A2095 #957420 #419520
monochromatic
#130A30 #261563 #3A2095 #4E2BC7 #7355DA

Accessibility & contrast

On white

11.54
#3A2095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3A2095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2095
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2095#FFFFFF#000000##FFFFFF
##3A20951.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3a2095;
/* rgb */ color: rgb(58, 32, 149);
/* oklch */ color: oklch(36.4% 0.176 283.6);
Tailwind
colors: {
  custom: {
    50: '#7c5fb5',
    500: '#3a2095',
    950: '#000000',
  },
}
SCSS
$custom: #3a2095;
$custom-light: #7c5fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2095",
  "rgb": {
    "r": 58,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 253.333,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36444,
    "c": 0.17623,
    "h": 283.6
  },
  "luminance": 0.04102
}

Semantic roles & 50–950 ramp

primary
#3A2095
secondary
#A6BE53
accent
#E840C2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3A2095

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

Preview Lab → · Contrast checker → · Palette generator →

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