#6A2190#6A2190

#6A2190 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.175 H 310.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#6A2190
RGBrgb(106, 33, 144)
HSLhsl(279, 63%, 35%)
HSVhsv(279, 77%, 56%)
CMYKcmyk(26.4%, 77.1%, 0%, 43.5%)
CIE-LABlab(29.83, 49.92, -46.58)
CIE-LCHlch(29.83, 68.28, 316.98°)
OKLaboklab(41.74% 0.1144 -0.132)
OKLCHoklch(41.74% 0.175 310.9)
XYZxyz(11.5208, 6.1658, 26.9634)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2190 #479021
analogous
#322190 #6A2190 #90217F
triadic
#6A2190 #906A21 #21906A
tetradic
#6A2190 #903221 #479021 #217F90
square
#6A2190 #903221 #479021 #217F90
split-complementary
#6A2190 #7F9021 #219032
monochromatic
#210A2C #45165E #6A2190 #8F2CC2 #AB54D8

Accessibility & contrast

On white

9.40
#6A2190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6A2190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2190
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2190#FFFFFF#000000##FFFFFF
##6A21901.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#08478E
Tritanopia (blue-blind)
#653B57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6a2190;
/* rgb */ color: rgb(106, 33, 144);
/* oklch */ color: oklch(41.7% 0.175 310.9);
Tailwind
colors: {
  custom: {
    50: '#9965b1',
    500: '#6a2190',
    950: '#000000',
  },
}
SCSS
$custom: #6a2190;
$custom-light: #9965b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2190",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 279.459,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41743,
    "c": 0.17464,
    "h": 310.9
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#6A2190
secondary
#76BB51
accent
#E6427A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2190

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

Preview Lab → · Contrast checker → · Palette generator →

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