#6A22D3#6A22D3

#6A22D3 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.7% C 0.240 H 293.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#6A22D3
RGBrgb(106, 34, 211)
HSLhsl(264, 72%, 48%)
HSVhsv(264, 84%, 83%)
CMYKcmyk(49.8%, 83.9%, 0%, 17.3%)
CIE-LABlab(35.81, 65.24, -76.77)
CIE-LCHlch(35.81, 100.75, 310.36°)
OKLaboklab(47.7% 0.0936 -0.2205)
OKLCHoklch(47.7% 0.24 293)
XYZxyz(18.2705, 8.9107, 62.3727)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A22D3 #8BD322
analogous
#2232D3 #6A22D3 #C222D3
triadic
#6A22D3 #D36A22 #22D36A
tetradic
#6A22D3 #D32232 #8BD322 #22D3C2
square
#6A22D3 #D32232 #8BD322 #22D3C2
split-complementary
#6A22D3 #D3C222 #32D322
monochromatic
#35116A #501A9E #6A22D3 #8B4FE3 #AE84EB

Accessibility & contrast

On white

7.55
#6A22D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6A22D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A22D3
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A22D3#FFFFFF#000000##FFFFFF
##6A22D31.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D8
Deuteranopia (green-blind)
#0051D0
Tritanopia (blue-blind)
#47597E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a22d3;
/* rgb */ color: rgb(106, 34, 211);
/* oklch */ color: oklch(47.7% 0.240 293.0);
Tailwind
colors: {
  custom: {
    50: '#a069e2',
    500: '#6a22d3',
    950: '#000000',
  },
}
SCSS
$custom: #6a22d3;
$custom-light: #a069e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a22d3",
  "rgb": {
    "r": 106,
    "g": 34,
    "b": 211
  },
  "hsl": {
    "h": 264.407,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47695,
    "c": 0.23959,
    "h": 293
  },
  "luminance": 0.08911
}

Semantic roles & 50–950 ramp

primary
#6A22D3
secondary
#B1D47D
accent
#EF39A5
background
#FAF6FE
surface
#F4EBFC
border
#CEC6D5
text
#100716
muted
#7F7A84

Preview Lab

Preview with #6A22D3

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

Preview Lab → · Contrast checker → · Palette generator →

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