#6F20A3#6F20A3

#6F20A3 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.195 H 307.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6F20A3
RGBrgb(111, 32, 163)
HSLhsl(276, 67%, 38%)
HSVhsv(276, 80%, 64%)
CMYKcmyk(31.9%, 80.4%, 0%, 36.1%)
CIE-LABlab(31.94, 55.42, -54.73)
CIE-LCHlch(31.94, 77.88, 315.36°)
OKLaboklab(43.85% 0.118 -0.1557)
OKLCHoklch(43.85% 0.195 307.2)
XYZxyz(13.6815, 7.0570, 35.2846)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F20A3 #54A320
analogous
#2D20A3 #6F20A3 #A32095
triadic
#6F20A3 #A36F20 #20A36F
tetradic
#6F20A3 #A32D20 #54A320 #2095A3
square
#6F20A3 #A32D20 #54A320 #2095A3
split-complementary
#6F20A3 #95A320 #20A32D
monochromatic
#290C3D #4C1670 #6F20A3 #922BD5 #AC5EDF

Accessibility & contrast

On white

8.71
#6F20A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6F20A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F20A3
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F20A3#FFFFFF#000000##FFFFFF
##6F20A31.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#664262
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6f20a3;
/* rgb */ color: rgb(111, 32, 163);
/* oklch */ color: oklch(43.8% 0.195 307.2);
Tailwind
colors: {
  custom: {
    50: '#9e66bf',
    500: '#6f20a3',
    950: '#000000',
  },
}
SCSS
$custom: #6f20a3;
$custom-light: #9e66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f20a3",
  "rgb": {
    "r": 111,
    "g": 32,
    "b": 163
  },
  "hsl": {
    "h": 276.183,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43846,
    "c": 0.19536,
    "h": 307.2
  },
  "luminance": 0.07057
}

Semantic roles & 50–950 ramp

primary
#6F20A3
secondary
#85C45B
accent
#EA3E82
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F20A3

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

Preview Lab → · Contrast checker → · Palette generator →

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