#6F22AA#6F22AA

#6F22AA is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.200 H 304.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#6F22AA
RGBrgb(111, 34, 170)
HSLhsl(274, 67%, 40%)
HSVhsv(274, 80%, 67%)
CMYKcmyk(34.7%, 80%, 0%, 33.3%)
CIE-LABlab(32.76, 56.27, -57.60)
CIE-LCHlch(32.76, 80.53, 314.33°)
OKLaboklab(44.6% 0.1146 -0.1642)
OKLCHoklch(44.6% 0.2 304.9)
XYZxyz(14.3816, 7.4259, 38.6981)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F22AA #5DAA22
analogous
#2B22AA #6F22AA #AA22A1
triadic
#6F22AA #AA6F22 #22AA6F
tetradic
#6F22AA #AA2B22 #5DAA22 #22A1AA
square
#6F22AA #AA2B22 #5DAA22 #22A1AA
split-complementary
#6F22AA #A1AA22 #22AA2B
monochromatic
#2C0E44 #4E1877 #6F22AA #8F33D6 #AB66E0

Accessibility & contrast

On white

8.45
#6F22AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6F22AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F22AA
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F22AA#FFFFFF#000000##FFFFFF
##6F22AA1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#644666
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f22aa;
/* rgb */ color: rgb(111, 34, 170);
/* oklch */ color: oklch(44.6% 0.200 304.9);
Tailwind
colors: {
  custom: {
    50: '#9e67c4',
    500: '#6f22aa',
    950: '#000000',
  },
}
SCSS
$custom: #6f22aa;
$custom-light: #9e67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f22aa",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 273.971,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.44597,
    "c": 0.20019,
    "h": 304.9
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#6F22AA
secondary
#8DC662
accent
#EA3E89
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6F22AA

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

Preview Lab → · Contrast checker → · Palette generator →

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