#6F22A2#6F22A2

#6F22A2 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.9% C 0.192 H 307.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#6F22A2
RGBrgb(111, 34, 162)
HSLhsl(276, 65%, 38%)
HSVhsv(276, 79%, 64%)
CMYKcmyk(31.5%, 79%, 0%, 36.5%)
CIE-LABlab(32.11, 54.47, -53.84)
CIE-LCHlch(32.11, 76.59, 315.33°)
OKLaboklab(43.94% 0.1166 -0.1531)
OKLCHoklch(43.94% 0.192 307.3)
XYZxyz(13.6478, 7.1324, 34.8331)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F22A2 #55A222
analogous
#2F22A2 #6F22A2 #A22295
triadic
#6F22A2 #A26F22 #22A26F
tetradic
#6F22A2 #A22F22 #55A222 #2295A2
square
#6F22A2 #A22F22 #55A222 #2295A2
split-complementary
#6F22A2 #95A222 #22A22F
monochromatic
#2A0D3D #4C176F #6F22A2 #912ED3 #AC61DE

Accessibility & contrast

On white

8.65
#6F22A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6F22A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F22A2
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F22A2#FFFFFF#000000##FFFFFF
##6F22A21.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#664362
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f22a2;
/* rgb */ color: rgb(111, 34, 162);
/* oklch */ color: oklch(43.9% 0.192 307.3);
Tailwind
colors: {
  custom: {
    50: '#9e67be',
    500: '#6f22a2',
    950: '#000000',
  },
}
SCSS
$custom: #6f22a2;
$custom-light: #9e67be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f22a2",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 276.094,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4394,
    "c": 0.19247,
    "h": 307.3
  },
  "luminance": 0.07132
}

Semantic roles & 50–950 ramp

primary
#6F22A2
secondary
#86C35D
accent
#E84083
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F22A2

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

Preview Lab → · Contrast checker → · Palette generator →

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