#6F22B3#6F22B3

#6F22B3 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.4% C 0.209 H 302.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#6F22B3
RGBrgb(111, 34, 179)
HSLhsl(272, 68%, 42%)
HSVhsv(272, 81%, 70%)
CMYKcmyk(38%, 81%, 0%, 29.8%)
CIE-LABlab(33.52, 58.33, -61.74)
CIE-LCHlch(33.52, 84.94, 313.37°)
OKLaboklab(45.36% 0.112 -0.1763)
OKLCHoklch(45.36% 0.209 302.4)
XYZxyz(15.2623, 7.7782, 43.3364)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F22B3 #66B322
analogous
#2722B3 #6F22B3 #B322AF
triadic
#6F22B3 #B36F22 #22B36F
tetradic
#6F22B3 #B32722 #66B322 #22AFB3
square
#6F22B3 #B32722 #66B322 #22AFB3
split-complementary
#6F22B3 #AFB322 #22B327
monochromatic
#2F0E4C #4F1880 #6F22B3 #8E39D9 #AB6CE3

Accessibility & contrast

On white

8.22
#6F22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6F22B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F22B3
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F22B3#FFFFFF#000000##FFFFFF
##6F22B31.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#604A6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f22b3;
/* rgb */ color: rgb(111, 34, 179);
/* oklch */ color: oklch(45.4% 0.209 302.4);
Tailwind
colors: {
  custom: {
    50: '#9f67cb',
    500: '#6f22b3',
    950: '#000000',
  },
}
SCSS
$custom: #6f22b3;
$custom-light: #9f67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f22b3",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 271.862,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45361,
    "c": 0.20889,
    "h": 302.4
  },
  "luminance": 0.07778
}

Semantic roles & 50–950 ramp

primary
#6F22B3
secondary
#95C968
accent
#EB3D8E
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F22B3

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

Preview Lab → · Contrast checker → · Palette generator →

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