#6F22AF#6F22AF

#6F22AF is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.0% C 0.205 H 303.5°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#6F22AF
RGBrgb(111, 34, 175)
HSLhsl(273, 67%, 41%)
HSVhsv(273, 81%, 69%)
CMYKcmyk(36.6%, 80.6%, 0%, 31.4%)
CIE-LABlab(33.18, 57.42, -59.91)
CIE-LCHlch(33.18, 82.98, 313.78°)
OKLaboklab(45.02% 0.1132 -0.171)
OKLCHoklch(45.02% 0.205 303.5)
XYZxyz(14.8636, 7.6187, 41.2366)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F22AF #62AF22
analogous
#2822AF #6F22AF #AF22A8
triadic
#6F22AF #AF6F22 #22AF6F
tetradic
#6F22AF #AF2822 #62AF22 #22A8AF
square
#6F22AF #AF2822 #62AF22 #22A8AF
split-complementary
#6F22AF #A8AF22 #22AF28
monochromatic
#2E0E49 #4E187C #6F22AF #8F36D8 #AB69E2

Accessibility & contrast

On white

8.32
#6F22AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6F22AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F22AF
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F22AF#FFFFFF#000000##FFFFFF
##6F22AF1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#624869
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f22af;
/* rgb */ color: rgb(111, 34, 175);
/* oklch */ color: oklch(45.0% 0.205 303.5);
Tailwind
colors: {
  custom: {
    50: '#9f67c8',
    500: '#6f22af',
    950: '#000000',
  },
}
SCSS
$custom: #6f22af;
$custom-light: #9f67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f22af",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 272.766,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45018,
    "c": 0.20502,
    "h": 303.5
  },
  "luminance": 0.07619
}

Semantic roles & 50–950 ramp

primary
#6F22AF
secondary
#92C865
accent
#EA3D8C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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