#6D20B3#6D20B3

#6D20B3 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.9% C 0.210 H 301.7°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#6D20B3
RGBrgb(109, 32, 179)
HSLhsl(271, 70%, 41%)
HSVhsv(271, 82%, 70%)
CMYKcmyk(39.1%, 82.1%, 0%, 29.8%)
CIE-LABlab(33.00, 58.73, -62.59)
CIE-LCHlch(33.00, 85.83, 313.17°)
OKLaboklab(44.95% 0.1105 -0.1789)
OKLCHoklch(44.95% 0.21 301.7)
XYZxyz(14.9579, 7.5388, 43.3062)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D20B3 #66B320
analogous
#2420B3 #6D20B3 #B320B0
triadic
#6D20B3 #B36D20 #20B36D
tetradic
#6D20B3 #B32420 #66B320 #20B0B3
square
#6D20B3 #B32420 #66B320 #20B0B3
split-complementary
#6D20B3 #B0B320 #20B324
monochromatic
#2E0D4B #4D177F #6D20B3 #8C35DB #AA69E4

Accessibility & contrast

On white

8.37
#6D20B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6D20B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D20B3
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D20B3#FFFFFF#000000##FFFFFF
##6D20B31.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d20b3;
/* rgb */ color: rgb(109, 32, 179);
/* oklch */ color: oklch(44.9% 0.210 301.7);
Tailwind
colors: {
  custom: {
    50: '#9e66cb',
    500: '#6d20b3',
    950: '#000000',
  },
}
SCSS
$custom: #6d20b3;
$custom-light: #9e66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d20b3",
  "rgb": {
    "r": 109,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 271.429,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44946,
    "c": 0.21025,
    "h": 301.7
  },
  "luminance": 0.07539
}

Semantic roles & 50–950 ramp

primary
#6D20B3
secondary
#95CA65
accent
#EC3B90
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6D20B3

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

Preview Lab → · Contrast checker → · Palette generator →

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