#6822B0#6822B0

#6822B0 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.2% C 0.205 H 300.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#6822B0
RGBrgb(104, 34, 176)
HSLhsl(270, 68%, 41%)
HSVhsv(270, 81%, 69%)
CMYKcmyk(40.9%, 80.7%, 0%, 31%)
CIE-LABlab(32.31, 56.57, -61.97)
CIE-LCHlch(32.31, 83.91, 312.39°)
OKLaboklab(44.24% 0.1026 -0.1772)
OKLCHoklch(44.24% 0.205 300.1)
XYZxyz(14.1154, 7.2215, 41.7161)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6822B0 #6AB022
analogous
#2223B0 #6822B0 #AF22B0
triadic
#6822B0 #B06822 #22B068
tetradic
#6822B0 #B02223 #6AB022 #22B0AF
square
#6822B0 #B02223 #6AB022 #22B0AF
split-complementary
#6822B0 #B0AF22 #23B022
monochromatic
#2B0E49 #4A187D #6822B0 #8637D8 #A56AE2

Accessibility & contrast

On white

8.59
#6822B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6822B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6822B0
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6822B0#FFFFFF#000000##FFFFFF
##6822B01.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#574A6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6822b0;
/* rgb */ color: rgb(104, 34, 176);
/* oklch */ color: oklch(44.2% 0.205 300.1);
Tailwind
colors: {
  custom: {
    50: '#9a66c9',
    500: '#6822b0',
    950: '#000000',
  },
}
SCSS
$custom: #6822b0;
$custom-light: #9a66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6822b0",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 176
  },
  "hsl": {
    "h": 269.577,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44236,
    "c": 0.20479,
    "h": 300.1
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#6822B0
secondary
#98C866
accent
#EA3D95
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6822B0

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

Preview Lab → · Contrast checker → · Palette generator →

#6822B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva