#6F22B0#6F22B0

#6F22B0 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.1% C 0.206 H 303.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6F22B0
RGBrgb(111, 34, 176)
HSLhsl(273, 68%, 41%)
HSVhsv(273, 81%, 69%)
CMYKcmyk(36.9%, 80.7%, 0%, 31%)
CIE-LABlab(33.26, 57.64, -60.37)
CIE-LCHlch(33.26, 83.47, 313.68°)
OKLaboklab(45.1% 0.1129 -0.1723)
OKLCHoklch(45.1% 0.206 303.2)
XYZxyz(14.9622, 7.6581, 41.7558)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F22B0 #63B022
analogous
#2822B0 #6F22B0 #B022AA
triadic
#6F22B0 #B06F22 #22B06F
tetradic
#6F22B0 #B02822 #63B022 #22AAB0
square
#6F22B0 #B02822 #63B022 #22AAB0
split-complementary
#6F22B0 #AAB022 #22B028
monochromatic
#2E0E49 #4F187D #6F22B0 #8E37D8 #AB6AE2

Accessibility & contrast

On white

8.30
#6F22B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6F22B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F22B0
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F22B0#FFFFFF#000000##FFFFFF
##6F22B01.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#61496A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f22b0;
/* rgb */ color: rgb(111, 34, 176);
/* oklch */ color: oklch(45.1% 0.206 303.2);
Tailwind
colors: {
  custom: {
    50: '#9f67c9',
    500: '#6f22b0',
    950: '#000000',
  },
}
SCSS
$custom: #6f22b0;
$custom-light: #9f67c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f22b0",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 176
  },
  "hsl": {
    "h": 272.535,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45104,
    "c": 0.20599,
    "h": 303.2
  },
  "luminance": 0.07658
}

Semantic roles & 50–950 ramp

primary
#6F22B0
secondary
#93C866
accent
#EA3D8D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F22B0

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

Preview Lab → · Contrast checker → · Palette generator →

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