#6A22A3#6A22A3

#6A22A3 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.192 H 304.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6A22A3
RGBrgb(106, 34, 163)
HSLhsl(273, 65%, 39%)
HSVhsv(273, 79%, 64%)
CMYKcmyk(35%, 79.1%, 0%, 36.1%)
CIE-LABlab(31.47, 53.83, -55.52)
CIE-LCHlch(31.47, 77.33, 314.12°)
OKLaboklab(43.37% 0.1092 -0.1582)
OKLCHoklch(43.37% 0.192 304.6)
XYZxyz(13.1252, 6.8526, 35.2745)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A22A3 #5BA322
analogous
#2922A3 #6A22A3 #A3229B
triadic
#6A22A3 #A36A22 #22A36A
tetradic
#6A22A3 #A32922 #5BA322 #229BA3
square
#6A22A3 #A32922 #5BA322 #229BA3
split-complementary
#6A22A3 #9BA322 #22A329
monochromatic
#280D3E #491770 #6A22A3 #8B2FD4 #A761DE

Accessibility & contrast

On white

8.86
#6A22A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6A22A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A22A3
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A22A3#FFFFFF#000000##FFFFFF
##6A22A31.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A7
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#5F4462
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a22a3;
/* rgb */ color: rgb(106, 34, 163);
/* oklch */ color: oklch(43.4% 0.192 304.6);
Tailwind
colors: {
  custom: {
    50: '#9a66bf',
    500: '#6a22a3',
    950: '#000000',
  },
}
SCSS
$custom: #6a22a3;
$custom-light: #9a66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a22a3",
  "rgb": {
    "r": 106,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 273.488,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43368,
    "c": 0.19226,
    "h": 304.6
  },
  "luminance": 0.06853
}

Semantic roles & 50–950 ramp

primary
#6A22A3
secondary
#8BC35E
accent
#E83F8A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A22A3

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

Preview Lab → · Contrast checker → · Palette generator →

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