#6B20B3#6B20B3

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

Color values

HEX#6B20B3
RGBrgb(107, 32, 179)
HSLhsl(271, 70%, 41%)
HSVhsv(271, 82%, 70%)
CMYKcmyk(40.2%, 82.1%, 0%, 29.8%)
CIE-LABlab(32.73, 58.43, -63.05)
CIE-LCHlch(32.73, 85.97, 312.82°)
OKLaboklab(44.7% 0.1075 -0.1803)
OKLCHoklch(44.7% 0.21 300.8)
XYZxyz(14.7146, 7.4134, 43.2948)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B20B3 #68B320
analogous
#2220B3 #6B20B3 #B320B2
triadic
#6B20B3 #B36B20 #20B36B
tetradic
#6B20B3 #B32220 #68B320 #20B2B3
square
#6B20B3 #B32220 #68B320 #20B2B3
split-complementary
#6B20B3 #B2B320 #20B322
monochromatic
#2D0D4B #4C177F #6B20B3 #8A35DB #A869E4

Accessibility & contrast

On white

8.46
#6B20B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B20B3
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B20B3#FFFFFF#000000##FFFFFF
##6B20B31.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#5A4A6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b20b3;
/* rgb */ color: rgb(107, 32, 179);
/* oklch */ color: oklch(44.7% 0.210 300.8);
Tailwind
colors: {
  custom: {
    50: '#9d66cb',
    500: '#6b20b3',
    950: '#000000',
  },
}
SCSS
$custom: #6b20b3;
$custom-light: #9d66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b20b3",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 270.612,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44698,
    "c": 0.20992,
    "h": 300.8
  },
  "luminance": 0.07413
}

Semantic roles & 50–950 ramp

primary
#6B20B3
secondary
#96CA65
accent
#EC3B92
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B20B3

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

Preview Lab → · Contrast checker → · Palette generator →

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