#6F22AC#6F22AC

#6F22AC is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.202 H 304.3°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#6F22AC
RGBrgb(111, 34, 172)
HSLhsl(273, 67%, 40%)
HSVhsv(273, 80%, 67%)
CMYKcmyk(35.5%, 80.2%, 0%, 32.5%)
CIE-LABlab(32.92, 56.73, -58.53)
CIE-LCHlch(32.92, 81.51, 314.10°)
OKLaboklab(44.77% 0.114 -0.1669)
OKLCHoklch(44.77% 0.202 304.3)
XYZxyz(14.5722, 7.5022, 39.7021)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F22AC #5FAC22
analogous
#2A22AC #6F22AC #AC22A4
triadic
#6F22AC #AC6F22 #22AC6F
tetradic
#6F22AC #AC2A22 #5FAC22 #22A4AC
square
#6F22AC #AC2A22 #5FAC22 #22A4AC
split-complementary
#6F22AC #A4AC22 #22AC2A
monochromatic
#2D0E46 #4E1879 #6F22AC #8F34D7 #AB67E1

Accessibility & contrast

On white

8.40
#6F22AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6F22AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F22AC
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F22AC#FFFFFF#000000##FFFFFF
##6F22AC1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#634768
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f22ac;
/* rgb */ color: rgb(111, 34, 172);
/* oklch */ color: oklch(44.8% 0.202 304.3);
Tailwind
colors: {
  custom: {
    50: '#9e67c6',
    500: '#6f22ac',
    950: '#000000',
  },
}
SCSS
$custom: #6f22ac;
$custom-light: #9e67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f22ac",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 273.478,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44765,
    "c": 0.20212,
    "h": 304.3
  },
  "luminance": 0.07502
}

Semantic roles & 50–950 ramp

primary
#6F22AC
secondary
#8FC763
accent
#EA3E8A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F22AC

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

Preview Lab → · Contrast checker → · Palette generator →

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