#6F20BD#6F20BD

#6F20BD is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.1% C 0.220 H 300.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#6F20BD
RGBrgb(111, 32, 189)
HSLhsl(270, 71%, 43%)
HSVhsv(270, 83%, 74%)
CMYKcmyk(41.3%, 83.1%, 0%, 25.9%)
CIE-LABlab(34.16, 61.32, -66.61)
CIE-LCHlch(34.16, 90.54, 312.63°)
OKLaboklab(46.08% 0.1102 -0.1906)
OKLCHoklch(46.08% 0.22 300)
XYZxyz(16.2550, 8.0865, 48.8387)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F20BD #6EBD20
analogous
#2020BD #6F20BD #BD20BC
triadic
#6F20BD #BD6F20 #20BD6F
tetradic
#6F20BD #BD2020 #6EBD20 #20BCBD
square
#6F20BD #BD2020 #6EBD20 #20BCBD
split-complementary
#6F20BD #BCBD20 #20BD20
monochromatic
#320E54 #501789 #6F20BD #8E3CDE #AC71E7

Accessibility & contrast

On white

8.02
#6F20BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6F20BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F20BD
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F20BD#FFFFFF#000000##FFFFFF
##6F20BD1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#5C4E71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f20bd;
/* rgb */ color: rgb(111, 32, 189);
/* oklch */ color: oklch(46.1% 0.220 300.0);
Tailwind
colors: {
  custom: {
    50: '#a067d2',
    500: '#6f20bd',
    950: '#000000',
  },
}
SCSS
$custom: #6f20bd;
$custom-light: #a067d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f20bd",
  "rgb": {
    "r": 111,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 270.191,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46077,
    "c": 0.22015,
    "h": 300
  },
  "luminance": 0.08087
}

Semantic roles & 50–950 ramp

primary
#6F20BD
secondary
#9CCD6B
accent
#EE3A93
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #6F20BD

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

Preview Lab → · Contrast checker → · Palette generator →

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