#6C22BD#6C22BD

#6C22BD is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.9% C 0.218 H 298.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#6C22BD
RGBrgb(108, 34, 189)
HSLhsl(269, 70%, 44%)
HSVhsv(269, 82%, 74%)
CMYKcmyk(42.9%, 82%, 0%, 25.9%)
CIE-LABlab(34.00, 60.23, -66.90)
CIE-LCHlch(34.00, 90.02, 312.00°)
OKLaboklab(45.88% 0.1044 -0.1916)
OKLCHoklch(45.88% 0.218 298.6)
XYZxyz(15.9393, 8.0061, 48.8398)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C22BD #73BD22
analogous
#2225BD #6C22BD #B922BD
triadic
#6C22BD #BD6C22 #22BD6C
tetradic
#6C22BD #BD2225 #73BD22 #22BDB9
square
#6C22BD #BD2225 #73BD22 #22BDB9
split-complementary
#6C22BD #BDB922 #25BD22
monochromatic
#310F55 #4E1989 #6C22BD #8B40DD #AA73E6

Accessibility & contrast

On white

8.07
#6C22BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6C22BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C22BD
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C22BD#FFFFFF#000000##FFFFFF
##6C22BD1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#574F71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6c22bd;
/* rgb */ color: rgb(108, 34, 189);
/* oklch */ color: oklch(45.9% 0.218 298.6);
Tailwind
colors: {
  custom: {
    50: '#9e68d2',
    500: '#6c22bd',
    950: '#000000',
  },
}
SCSS
$custom: #6c22bd;
$custom-light: #9e68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c22bd",
  "rgb": {
    "r": 108,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 268.645,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45876,
    "c": 0.21816,
    "h": 298.6
  },
  "luminance": 0.08006
}

Semantic roles & 50–950 ramp

primary
#6C22BD
secondary
#A0CD6E
accent
#EC3B98
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6C22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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