#3A2194#3A2194

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

Color values

HEX#3A2194
RGBrgb(58, 33, 148)
HSLhsl(253, 64%, 35%)
HSVhsv(253, 78%, 58%)
CMYKcmyk(60.8%, 77.7%, 0%, 42%)
CIE-LABlab(24.08, 42.95, -58.69)
CIE-LCHlch(24.08, 72.73, 306.20°)
OKLaboklab(36.46% 0.0409 -0.1692)
OKLCHoklch(36.46% 0.174 283.6)
XYZxyz(7.6324, 4.1249, 28.4052)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2194 #7B9421
analogous
#214294 #3A2194 #732194
triadic
#3A2194 #943A21 #21943A
tetradic
#3A2194 #942142 #7B9421 #219473
square
#3A2194 #942142 #7B9421 #219473
split-complementary
#3A2194 #947321 #429421
monochromatic
#130B30 #261662 #3A2194 #4E2CC6 #7356D9

Accessibility & contrast

On white

11.51
#3A2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3A2194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2194
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2194#FFFFFF#000000##FFFFFF
##3A21941.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3a2194;
/* rgb */ color: rgb(58, 33, 148);
/* oklch */ color: oklch(36.5% 0.174 283.6);
Tailwind
colors: {
  custom: {
    50: '#7c60b5',
    500: '#3a2194',
    950: '#000000',
  },
}
SCSS
$custom: #3a2194;
$custom-light: #7c60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2194",
  "rgb": {
    "r": 58,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 253.043,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36465,
    "c": 0.17404,
    "h": 283.6
  },
  "luminance": 0.04125
}

Semantic roles & 50–950 ramp

primary
#3A2194
secondary
#A6BD54
accent
#E741C3
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3A2194

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

Preview Lab → · Contrast checker → · Palette generator →

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