#6A22AF#6A22AF

#6A22AF is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.4% C 0.204 H 301.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#6A22AF
RGBrgb(106, 34, 175)
HSLhsl(271, 67%, 41%)
HSVhsv(271, 81%, 69%)
CMYKcmyk(39.4%, 80.6%, 0%, 31.4%)
CIE-LABlab(32.49, 56.63, -61.07)
CIE-LCHlch(32.49, 83.29, 312.84°)
OKLaboklab(44.39% 0.1058 -0.1745)
OKLCHoklch(44.39% 0.204 301.2)
XYZxyz(14.2518, 7.3033, 41.2080)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A22AF #67AF22
analogous
#2322AF #6A22AF #AF22AD
triadic
#6A22AF #AF6A22 #22AF6A
tetradic
#6A22AF #AF2322 #67AF22 #22ADAF
square
#6A22AF #AF2322 #67AF22 #22ADAF
split-complementary
#6A22AF #ADAF22 #22AF23
monochromatic
#2C0E49 #4B187C #6A22AF #8936D8 #A769E2

Accessibility & contrast

On white

8.53
#6A22AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6A22AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A22AF
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A22AF#FFFFFF#000000##FFFFFF
##6A22AF1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#5A4969
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6a22af;
/* rgb */ color: rgb(106, 34, 175);
/* oklch */ color: oklch(44.4% 0.204 301.2);
Tailwind
colors: {
  custom: {
    50: '#9b67c8',
    500: '#6a22af',
    950: '#000000',
  },
}
SCSS
$custom: #6a22af;
$custom-light: #9b67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a22af",
  "rgb": {
    "r": 106,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 270.638,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44393,
    "c": 0.20411,
    "h": 301.2
  },
  "luminance": 0.07303
}

Semantic roles & 50–950 ramp

primary
#6A22AF
secondary
#95C865
accent
#EA3D92
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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