#6220B1#6220B1

#6220B1 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.4% C 0.207 H 297.2°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#6220B1
RGBrgb(98, 32, 177)
HSLhsl(267, 69%, 41%)
HSVhsv(267, 82%, 69%)
CMYKcmyk(44.6%, 81.9%, 0%, 30.6%)
CIE-LABlab(31.36, 56.67, -64.16)
CIE-LCHlch(31.36, 85.61, 311.46°)
OKLaboklab(43.43% 0.0946 -0.1838)
OKLCHoklch(43.43% 0.207 297.2)
XYZxyz(13.4872, 6.8037, 42.1891)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6220B1 #6FB120
analogous
#2027B1 #6220B1 #AA20B1
triadic
#6220B1 #B16220 #20B162
tetradic
#6220B1 #B12027 #6FB120 #20B1AA
square
#6220B1 #B12027 #6FB120 #20B1AA
split-complementary
#6220B1 #B1AA20 #27B120
monochromatic
#290D49 #45177D #6220B1 #8034DA #A068E4

Accessibility & contrast

On white

8.90
#6220B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6220B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6220B1
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6220B1#FFFFFF#000000##FFFFFF
##6220B11.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0048AE
Tritanopia (blue-blind)
#4D4A6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6220b1;
/* rgb */ color: rgb(98, 32, 177);
/* oklch */ color: oklch(43.4% 0.207 297.2);
Tailwind
colors: {
  custom: {
    50: '#9765c9',
    500: '#6220b1',
    950: '#000000',
  },
}
SCSS
$custom: #6220b1;
$custom-light: #9765c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6220b1",
  "rgb": {
    "r": 98,
    "g": 32,
    "b": 177
  },
  "hsl": {
    "h": 267.31,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43434,
    "c": 0.20676,
    "h": 297.2
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#6220B1
secondary
#9BC964
accent
#EC3C9C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6220B1

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

Preview Lab → · Contrast checker → · Palette generator →

#6220B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva