#6F20A1#6F20A1

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

Color values

HEX#6F20A1
RGBrgb(111, 32, 161)
HSLhsl(277, 67%, 38%)
HSVhsv(277, 80%, 63%)
CMYKcmyk(31.1%, 80.1%, 0%, 36.9%)
CIE-LABlab(31.77, 54.97, -53.78)
CIE-LCHlch(31.77, 76.90, 315.63°)
OKLaboklab(43.68% 0.1185 -0.1529)
OKLCHoklch(43.68% 0.193 307.8)
XYZxyz(13.5037, 6.9859, 34.3483)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F20A1 #52A120
analogous
#2E20A1 #6F20A1 #A12092
triadic
#6F20A1 #A16F20 #20A16F
tetradic
#6F20A1 #A12E20 #52A120 #2092A1
square
#6F20A1 #A12E20 #52A120 #2092A1
split-complementary
#6F20A1 #92A120 #20A12E
monochromatic
#290C3B #4C166E #6F20A1 #922AD4 #AC5DDF

Accessibility & contrast

On white

8.76
#6F20A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6F20A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F20A1
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F20A1#FFFFFF#000000##FFFFFF
##6F20A11.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#674161
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6f20a1;
/* rgb */ color: rgb(111, 32, 161);
/* oklch */ color: oklch(43.7% 0.193 307.8);
Tailwind
colors: {
  custom: {
    50: '#9e66be',
    500: '#6f20a1',
    950: '#000000',
  },
}
SCSS
$custom: #6f20a1;
$custom-light: #9e66be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f20a1",
  "rgb": {
    "r": 111,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 276.744,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43683,
    "c": 0.19346,
    "h": 307.8
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#6F20A1
secondary
#83C35A
accent
#EA3E81
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F20A1

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

Preview Lab → · Contrast checker → · Palette generator →

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