#6F20A0#6F20A0

#6F20A0 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.193 H 308.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#6F20A0
RGBrgb(111, 32, 160)
HSLhsl(277, 67%, 38%)
HSVhsv(277, 80%, 63%)
CMYKcmyk(30.6%, 80%, 0%, 37.3%)
CIE-LABlab(31.69, 54.75, -53.30)
CIE-LCHlch(31.69, 76.41, 315.77°)
OKLaboklab(43.6% 0.1188 -0.1515)
OKLCHoklch(43.6% 0.193 308.1)
XYZxyz(13.4159, 6.9508, 33.8858)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F20A0 #51A020
analogous
#2F20A0 #6F20A0 #A02091
triadic
#6F20A0 #A06F20 #20A06F
tetradic
#6F20A0 #A02F20 #51A020 #2091A0
square
#6F20A0 #A02F20 #51A020 #2091A0
split-complementary
#6F20A0 #91A020 #20A02F
monochromatic
#280C3A #4C166D #6F20A0 #922AD3 #AC5CDE

Accessibility & contrast

On white

8.79
#6F20A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6F20A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F20A0
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F20A0#FFFFFF#000000##FFFFFF
##6F20A01.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#674160
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6f20a0;
/* rgb */ color: rgb(111, 32, 160);
/* oklch */ color: oklch(43.6% 0.193 308.1);
Tailwind
colors: {
  custom: {
    50: '#9d66bd',
    500: '#6f20a0',
    950: '#000000',
  },
}
SCSS
$custom: #6f20a0;
$custom-light: #9d66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f20a0",
  "rgb": {
    "r": 111,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 277.031,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43602,
    "c": 0.19251,
    "h": 308.1
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#6F20A0
secondary
#82C359
accent
#EA3E80
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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