#6F22A6#6F22A6

#6F22A6 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.3% C 0.196 H 306.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#6F22A6
RGBrgb(111, 34, 166)
HSLhsl(275, 66%, 39%)
HSVhsv(275, 80%, 65%)
CMYKcmyk(33.1%, 79.5%, 0%, 34.9%)
CIE-LABlab(32.43, 55.37, -55.73)
CIE-LCHlch(32.43, 78.56, 314.81°)
OKLaboklab(44.27% 0.1156 -0.1587)
OKLCHoklch(44.27% 0.196 306.1)
XYZxyz(14.0090, 7.2769, 36.7356)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F22A6 #59A622
analogous
#2D22A6 #6F22A6 #A6229B
triadic
#6F22A6 #A66F22 #22A66F
tetradic
#6F22A6 #A62D22 #59A622 #229BA6
square
#6F22A6 #A62D22 #59A622 #229BA6
split-complementary
#6F22A6 #9BA622 #22A62D
monochromatic
#2B0D40 #4D1873 #6F22A6 #9030D5 #AC63DF

Accessibility & contrast

On white

8.55
#6F22A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F22A6
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F22A6#FFFFFF#000000##FFFFFF
##6F22A61.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#654564
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f22a6;
/* rgb */ color: rgb(111, 34, 166);
/* oklch */ color: oklch(44.3% 0.196 306.1);
Tailwind
colors: {
  custom: {
    50: '#9e67c1',
    500: '#6f22a6',
    950: '#000000',
  },
}
SCSS
$custom: #6f22a6;
$custom-light: #9e67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f22a6",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 275,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44266,
    "c": 0.19633,
    "h": 306.1
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#6F22A6
secondary
#8AC45F
accent
#E93F86
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F22A6

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

Preview Lab → · Contrast checker → · Palette generator →

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