#6F20BA#6F20BA

#6F20BA is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.8% C 0.217 H 300.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#6F20BA
RGBrgb(111, 32, 186)
HSLhsl(271, 71%, 43%)
HSVhsv(271, 83%, 73%)
CMYKcmyk(40.3%, 82.8%, 0%, 27.1%)
CIE-LABlab(33.89, 60.63, -65.28)
CIE-LCHlch(33.89, 89.09, 312.89°)
OKLaboklab(45.81% 0.1112 -0.1867)
OKLCHoklch(45.81% 0.217 300.8)
XYZxyz(15.9328, 7.9576, 47.1414)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F20BA #6BBA20
analogous
#2220BA #6F20BA #BA20B8
triadic
#6F20BA #BA6F20 #20BA6F
tetradic
#6F20BA #BA2220 #6BBA20 #20B8BA
square
#6F20BA #BA2220 #6BBA20 #20B8BA
split-complementary
#6F20BA #B8BA20 #20BA22
monochromatic
#310E52 #501786 #6F20BA #8E3ADD #AC6EE6

Accessibility & contrast

On white

8.10
#6F20BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6F20BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F20BA
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F20BA#FFFFFF#000000##FFFFFF
##6F20BA1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#5D4D6F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f20ba;
/* rgb */ color: rgb(111, 32, 186);
/* oklch */ color: oklch(45.8% 0.217 300.8);
Tailwind
colors: {
  custom: {
    50: '#a067d0',
    500: '#6f20ba',
    950: '#000000',
  },
}
SCSS
$custom: #6f20ba;
$custom-light: #a067d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f20ba",
  "rgb": {
    "r": 111,
    "g": 32,
    "b": 186
  },
  "hsl": {
    "h": 270.779,
    "s": 70.642,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4581,
    "c": 0.21728,
    "h": 300.8
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#6F20BA
secondary
#9ACC69
accent
#ED3A92
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #6F20BA

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

Preview Lab → · Contrast checker → · Palette generator →

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