#6A2194#6A2194

#6A2194 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.179 H 309.5°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#6A2194
RGBrgb(106, 33, 148)
HSLhsl(278, 64%, 35%)
HSVhsv(278, 78%, 58%)
CMYKcmyk(28.4%, 77.7%, 0%, 42%)
CIE-LABlab(30.13, 50.81, -48.55)
CIE-LCHlch(30.13, 70.27, 316.30°)
OKLaboklab(42.06% 0.1136 -0.1377)
OKLCHoklch(42.06% 0.179 309.5)
XYZxyz(11.8319, 6.2902, 28.6021)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2194 #4B9421
analogous
#302194 #6A2194 #942184
triadic
#6A2194 #946A21 #21946A
tetradic
#6A2194 #943021 #4B9421 #218494
square
#6A2194 #943021 #4B9421 #218494
split-complementary
#6A2194 #849421 #219430
monochromatic
#220B30 #461662 #6A2194 #8E2CC6 #A956D9

Accessibility & contrast

On white

9.30
#6A2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6A2194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2194
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2194#FFFFFF#000000##FFFFFF
##6A21941.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#643D5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a2194;
/* rgb */ color: rgb(106, 33, 148);
/* oklch */ color: oklch(42.1% 0.179 309.5);
Tailwind
colors: {
  custom: {
    50: '#9965b4',
    500: '#6a2194',
    950: '#000000',
  },
}
SCSS
$custom: #6a2194;
$custom-light: #9965b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2194",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 278.087,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42056,
    "c": 0.17855,
    "h": 309.5
  },
  "luminance": 0.0629
}

Semantic roles & 50–950 ramp

primary
#6A2194
secondary
#7ABD54
accent
#E7417E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2194

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

Preview Lab → · Contrast checker → · Palette generator →

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