#6D20B0#6D20B0

#6D20B0 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.7% C 0.207 H 302.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#6D20B0
RGBrgb(109, 32, 176)
HSLhsl(272, 69%, 41%)
HSVhsv(272, 82%, 69%)
CMYKcmyk(38.1%, 81.8%, 0%, 31%)
CIE-LABlab(32.74, 58.04, -61.23)
CIE-LCHlch(32.74, 84.37, 313.46°)
OKLaboklab(44.68% 0.1114 -0.1749)
OKLCHoklch(44.68% 0.207 302.5)
XYZxyz(14.6578, 7.4188, 41.7256)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D20B0 #63B020
analogous
#2520B0 #6D20B0 #B020AB
triadic
#6D20B0 #B06D20 #20B06D
tetradic
#6D20B0 #B02520 #63B020 #20ABB0
square
#6D20B0 #B02520 #63B020 #20ABB0
split-complementary
#6D20B0 #ABB020 #20B025
monochromatic
#2D0D48 #4D177C #6D20B0 #8C33DA #AA67E3

Accessibility & contrast

On white

8.45
#6D20B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6D20B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D20B0
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D20B0#FFFFFF#000000##FFFFFF
##6D20B01.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#5F4869
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6d20b0;
/* rgb */ color: rgb(109, 32, 176);
/* oklch */ color: oklch(44.7% 0.207 302.5);
Tailwind
colors: {
  custom: {
    50: '#9e66c9',
    500: '#6d20b0',
    950: '#000000',
  },
}
SCSS
$custom: #6d20b0;
$custom-light: #9e66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d20b0",
  "rgb": {
    "r": 109,
    "g": 32,
    "b": 176
  },
  "hsl": {
    "h": 272.083,
    "s": 69.231,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44684,
    "c": 0.20736,
    "h": 302.5
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#6D20B0
secondary
#92C963
accent
#EC3C8E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6D20B0

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

Preview Lab → · Contrast checker → · Palette generator →

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