#3A2190#3A2190

#3A2190 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.169 H 284.4°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#3A2190
RGBrgb(58, 33, 144)
HSLhsl(254, 63%, 35%)
HSVhsv(254, 77%, 56%)
CMYKcmyk(59.7%, 77.1%, 0%, 43.5%)
CIE-LABlab(23.67, 41.74, -56.89)
CIE-LCHlch(23.67, 70.56, 306.27°)
OKLaboklab(36.06% 0.042 -0.1639)
OKLCHoklch(36.06% 0.169 284.4)
XYZxyz(7.3213, 4.0004, 26.7665)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2190 #779021
analogous
#213F90 #3A2190 #722190
triadic
#3A2190 #903A21 #21903A
tetradic
#3A2190 #90213F #779021 #219072
square
#3A2190 #90213F #779021 #219072
split-complementary
#3A2190 #907221 #3F9021
monochromatic
#120A2C #26165E #3A2190 #4E2CC2 #7154D8

Accessibility & contrast

On white

11.67
#3A2190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3A2190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2190
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2190#FFFFFF#000000##FFFFFF
##3A21901.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#074057
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3a2190;
/* rgb */ color: rgb(58, 33, 144);
/* oklch */ color: oklch(36.1% 0.169 284.4);
Tailwind
colors: {
  custom: {
    50: '#7b60b2',
    500: '#3a2190',
    950: '#000000',
  },
}
SCSS
$custom: #3a2190;
$custom-light: #7b60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2190",
  "rgb": {
    "r": 58,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 253.514,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36057,
    "c": 0.16919,
    "h": 284.4
  },
  "luminance": 0.04001
}

Semantic roles & 50–950 ramp

primary
#3A2190
secondary
#A3BB51
accent
#E642C1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #3A2190

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

Preview Lab → · Contrast checker → · Palette generator →

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