#6B22D3#6B22D3

#6B22D3 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.8% C 0.240 H 293.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#6B22D3
RGBrgb(107, 34, 211)
HSLhsl(265, 72%, 48%)
HSVhsv(265, 84%, 83%)
CMYKcmyk(49.3%, 83.9%, 0%, 17.3%)
CIE-LABlab(35.93, 65.35, -76.57)
CIE-LCHlch(35.93, 100.67, 310.48°)
OKLaboklab(47.8% 0.0952 -0.2199)
OKLCHoklch(47.8% 0.24 293.4)
XYZxyz(18.3900, 8.9724, 62.3783)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B22D3 #8AD322
analogous
#2231D3 #6B22D3 #C322D3
triadic
#6B22D3 #D36B22 #22D36B
tetradic
#6B22D3 #D32231 #8AD322 #22D3C3
square
#6B22D3 #D32231 #8AD322 #22D3C3
split-complementary
#6B22D3 #D3C322 #31D322
monochromatic
#36116A #501A9E #6B22D3 #8C4FE3 #AF84EB

Accessibility & contrast

On white

7.51
#6B22D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6B22D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B22D3
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B22D3#FFFFFF#000000##FFFFFF
##6B22D31.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b22d3;
/* rgb */ color: rgb(107, 34, 211);
/* oklch */ color: oklch(47.8% 0.240 293.4);
Tailwind
colors: {
  custom: {
    50: '#a069e2',
    500: '#6b22d3',
    950: '#000000',
  },
}
SCSS
$custom: #6b22d3;
$custom-light: #a069e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b22d3",
  "rgb": {
    "r": 107,
    "g": 34,
    "b": 211
  },
  "hsl": {
    "h": 264.746,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47804,
    "c": 0.23962,
    "h": 293.4
  },
  "luminance": 0.08973
}

Semantic roles & 50–950 ramp

primary
#6B22D3
secondary
#B0D47D
accent
#EF39A4
background
#FAF6FE
surface
#F4ECFC
border
#CEC7D5
text
#100716
muted
#7F7A84

Preview Lab

Preview with #6B22D3

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

Preview Lab → · Contrast checker → · Palette generator →

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