#6D22B3#6D22B3

#6D22B3 is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.1% C 0.209 H 301.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6D22B3
RGBrgb(109, 34, 179)
HSLhsl(271, 68%, 42%)
HSVhsv(271, 81%, 70%)
CMYKcmyk(39.1%, 81%, 0%, 29.8%)
CIE-LABlab(33.24, 58.03, -62.20)
CIE-LCHlch(33.24, 85.07, 313.01°)
OKLaboklab(45.11% 0.1091 -0.1777)
OKLCHoklch(45.11% 0.209 301.5)
XYZxyz(15.0134, 7.6498, 43.3247)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D22B3 #68B322
analogous
#2422B3 #6D22B3 #B322B1
triadic
#6D22B3 #B36D22 #22B36D
tetradic
#6D22B3 #B32422 #68B322 #22B1B3
square
#6D22B3 #B32422 #68B322 #22B1B3
split-complementary
#6D22B3 #B1B322 #22B324
monochromatic
#2E0E4C #4E1880 #6D22B3 #8C39D9 #AA6CE3

Accessibility & contrast

On white

8.30
#6D22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6D22B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D22B3
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D22B3#FFFFFF#000000##FFFFFF
##6D22B31.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#5D4B6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d22b3;
/* rgb */ color: rgb(109, 34, 179);
/* oklch */ color: oklch(45.1% 0.209 301.5);
Tailwind
colors: {
  custom: {
    50: '#9e67cb',
    500: '#6d22b3',
    950: '#000000',
  },
}
SCSS
$custom: #6d22b3;
$custom-light: #9e67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d22b3",
  "rgb": {
    "r": 109,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 271.034,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45112,
    "c": 0.20853,
    "h": 301.5
  },
  "luminance": 0.0765
}

Semantic roles & 50–950 ramp

primary
#6D22B3
secondary
#97C968
accent
#EB3D91
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D22B3

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

Preview Lab → · Contrast checker → · Palette generator →

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