#6A22B0#6A22B0

#6A22B0 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.5% C 0.205 H 301.0°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#6A22B0
RGBrgb(106, 34, 176)
HSLhsl(270, 68%, 41%)
HSVhsv(270, 81%, 69%)
CMYKcmyk(39.8%, 80.7%, 0%, 31%)
CIE-LABlab(32.57, 56.87, -61.52)
CIE-LCHlch(32.57, 83.78, 312.75°)
OKLaboklab(44.48% 0.1055 -0.1759)
OKLCHoklch(44.48% 0.205 301)
XYZxyz(14.3504, 7.3427, 41.7271)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A22B0 #68B022
analogous
#2322B0 #6A22B0 #B022AF
triadic
#6A22B0 #B06A22 #22B06A
tetradic
#6A22B0 #B02322 #68B022 #22AFB0
square
#6A22B0 #B02322 #68B022 #22AFB0
split-complementary
#6A22B0 #AFB022 #22B023
monochromatic
#2C0E49 #4B187D #6A22B0 #8937D8 #A76AE2

Accessibility & contrast

On white

8.51
#6A22B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6A22B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A22B0
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A22B0#FFFFFF#000000##FFFFFF
##6A22B01.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#5A4A6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a22b0;
/* rgb */ color: rgb(106, 34, 176);
/* oklch */ color: oklch(44.5% 0.205 301.0);
Tailwind
colors: {
  custom: {
    50: '#9c67c9',
    500: '#6a22b0',
    950: '#000000',
  },
}
SCSS
$custom: #6a22b0;
$custom-light: #9c67c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a22b0",
  "rgb": {
    "r": 106,
    "g": 34,
    "b": 176
  },
  "hsl": {
    "h": 270.423,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4448,
    "c": 0.2051,
    "h": 301
  },
  "luminance": 0.07343
}

Semantic roles & 50–950 ramp

primary
#6A22B0
secondary
#96C866
accent
#EA3D93
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A22B0

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

Preview Lab → · Contrast checker → · Palette generator →

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