#6B20A0#6B20A0

#6B20A0 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.192 H 306.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#6B20A0
RGBrgb(107, 32, 160)
HSLhsl(275, 67%, 38%)
HSVhsv(275, 80%, 63%)
CMYKcmyk(33.1%, 80%, 0%, 37.3%)
CIE-LABlab(31.11, 54.06, -54.28)
CIE-LCHlch(31.11, 76.61, 314.88°)
OKLaboklab(43.07% 0.1131 -0.1545)
OKLCHoklch(43.07% 0.192 306.2)
XYZxyz(12.9237, 6.6970, 33.8627)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B20A0 #55A020
analogous
#2B20A0 #6B20A0 #A02095
triadic
#6B20A0 #A06B20 #20A06B
tetradic
#6B20A0 #A02B20 #55A020 #2095A0
square
#6B20A0 #A02B20 #55A020 #2095A0
split-complementary
#6B20A0 #95A020 #20A02B
monochromatic
#270C3A #49166D #6B20A0 #8D2AD3 #A85CDE

Accessibility & contrast

On white

8.98
#6B20A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6B20A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B20A0
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B20A0#FFFFFF#000000##FFFFFF
##6B20A01.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#614260
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b20a0;
/* rgb */ color: rgb(107, 32, 160);
/* oklch */ color: oklch(43.1% 0.192 306.2);
Tailwind
colors: {
  custom: {
    50: '#9b65bd',
    500: '#6b20a0',
    950: '#000000',
  },
}
SCSS
$custom: #6b20a0;
$custom-light: #9b65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b20a0",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 275.156,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43068,
    "c": 0.1915,
    "h": 306.2
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

primary
#6B20A0
secondary
#85C359
accent
#EA3E85
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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