#6D22A2#6D22A2

#6D22A2 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.192 H 306.3°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6D22A2
RGBrgb(109, 34, 162)
HSLhsl(275, 65%, 38%)
HSVhsv(275, 79%, 64%)
CMYKcmyk(32.7%, 79%, 0%, 36.5%)
CIE-LABlab(31.82, 54.12, -54.33)
CIE-LCHlch(31.82, 76.69, 314.89°)
OKLaboklab(43.68% 0.1138 -0.1546)
OKLCHoklch(43.68% 0.192 306.3)
XYZxyz(13.3989, 7.0040, 34.8215)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D22A2 #57A222
analogous
#2D22A2 #6D22A2 #A22297
triadic
#6D22A2 #A26D22 #22A26D
tetradic
#6D22A2 #A22D22 #57A222 #2297A2
square
#6D22A2 #A22D22 #57A222 #2297A2
split-complementary
#6D22A2 #97A222 #22A22D
monochromatic
#290D3D #4B176F #6D22A2 #8F2ED3 #AA61DE

Accessibility & contrast

On white

8.75
#6D22A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6D22A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D22A2
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D22A2#FFFFFF#000000##FFFFFF
##6D22A21.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#644362
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d22a2;
/* rgb */ color: rgb(109, 34, 162);
/* oklch */ color: oklch(43.7% 0.192 306.3);
Tailwind
colors: {
  custom: {
    50: '#9c66be',
    500: '#6d22a2',
    950: '#000000',
  },
}
SCSS
$custom: #6d22a2;
$custom-light: #9c66be;
$custom-dark: #000000;
JSON
{
  "hex": "#6d22a2",
  "rgb": {
    "r": 109,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 275.156,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43676,
    "c": 0.19197,
    "h": 306.3
  },
  "luminance": 0.07004
}

Semantic roles & 50–950 ramp

primary
#6D22A2
secondary
#87C35D
accent
#E84085
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D22A2

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

Preview Lab → · Contrast checker → · Palette generator →

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