#6A22A0#6A22A0

#6A22A0 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.189 H 305.5°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#6A22A0
RGBrgb(106, 34, 160)
HSLhsl(274, 65%, 38%)
HSVhsv(274, 79%, 63%)
CMYKcmyk(33.7%, 78.8%, 0%, 37.3%)
CIE-LABlab(31.22, 53.14, -54.10)
CIE-LCHlch(31.22, 75.83, 314.49°)
OKLaboklab(43.12% 0.11 -0.1541)
OKLCHoklch(43.12% 0.189 305.5)
XYZxyz(12.8596, 6.7464, 33.8756)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A22A0 #58A022
analogous
#2B22A0 #6A22A0 #A02297
triadic
#6A22A0 #A06A22 #22A06A
tetradic
#6A22A0 #A02B22 #58A022 #2297A0
square
#6A22A0 #A02B22 #58A022 #2297A0
split-complementary
#6A22A0 #97A022 #22A02B
monochromatic
#270D3B #49176E #6A22A0 #8B2DD2 #A75FDD

Accessibility & contrast

On white

8.94
#6A22A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6A22A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A22A0
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A22A0#FFFFFF#000000##FFFFFF
##6A22A01.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#604361
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6a22a0;
/* rgb */ color: rgb(106, 34, 160);
/* oklch */ color: oklch(43.1% 0.189 305.5);
Tailwind
colors: {
  custom: {
    50: '#9a66bd',
    500: '#6a22a0',
    950: '#000000',
  },
}
SCSS
$custom: #6a22a0;
$custom-light: #9a66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a22a0",
  "rgb": {
    "r": 106,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 274.286,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43119,
    "c": 0.18929,
    "h": 305.5
  },
  "luminance": 0.06746
}

Semantic roles & 50–950 ramp

primary
#6A22A0
secondary
#88C25C
accent
#E84088
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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