#6F22A0#6F22A0

#6F22A0 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.191 H 307.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6F22A0
RGBrgb(111, 34, 160)
HSLhsl(277, 65%, 38%)
HSVhsv(277, 79%, 63%)
CMYKcmyk(30.6%, 78.8%, 0%, 37.3%)
CIE-LABlab(31.95, 54.02, -52.89)
CIE-LCHlch(31.95, 75.60, 315.61°)
OKLaboklab(43.78% 0.1171 -0.1503)
OKLCHoklch(43.78% 0.191 307.9)
XYZxyz(13.4714, 7.0618, 33.9043)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F22A0 #53A022
analogous
#3022A0 #6F22A0 #A02292
triadic
#6F22A0 #A06F22 #22A06F
tetradic
#6F22A0 #A03022 #53A022 #2292A0
square
#6F22A0 #A03022 #53A022 #2292A0
split-complementary
#6F22A0 #92A022 #22A030
monochromatic
#290D3B #4C176E #6F22A0 #922DD2 #AC5FDD

Accessibility & contrast

On white

8.71
#6F22A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6F22A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F22A0
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F22A0#FFFFFF#000000##FFFFFF
##6F22A01.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#674261
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6f22a0;
/* rgb */ color: rgb(111, 34, 160);
/* oklch */ color: oklch(43.8% 0.191 307.9);
Tailwind
colors: {
  custom: {
    50: '#9d66bd',
    500: '#6f22a0',
    950: '#000000',
  },
}
SCSS
$custom: #6f22a0;
$custom-light: #9d66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f22a0",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 276.667,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43778,
    "c": 0.19054,
    "h": 307.9
  },
  "luminance": 0.07062
}

Semantic roles & 50–950 ramp

primary
#6F22A0
secondary
#84C25C
accent
#E84081
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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