#6F20A8#6F20A8

#6F20A8 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.3% C 0.200 H 305.7°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#6F20A8
RGBrgb(111, 32, 168)
HSLhsl(275, 68%, 39%)
HSVhsv(275, 81%, 66%)
CMYKcmyk(33.9%, 81%, 0%, 34.1%)
CIE-LABlab(32.35, 56.53, -57.07)
CIE-LCHlch(32.35, 80.33, 314.73°)
OKLaboklab(44.26% 0.1167 -0.1626)
OKLCHoklch(44.26% 0.2 305.7)
XYZxyz(14.1384, 7.2398, 37.6908)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F20A8 #59A820
analogous
#2B20A8 #6F20A8 #A8209D
triadic
#6F20A8 #A86F20 #20A86F
tetradic
#6F20A8 #A82B20 #59A820 #209DA8
square
#6F20A8 #A82B20 #59A820 #209DA8
split-complementary
#6F20A8 #9DA820 #20A82B
monochromatic
#2B0C41 #4D1675 #6F20A8 #902ED7 #AC61E1

Accessibility & contrast

On white

8.58
#6F20A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6F20A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F20A8
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F20A8#FFFFFF#000000##FFFFFF
##6F20A81.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#644565
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f20a8;
/* rgb */ color: rgb(111, 32, 168);
/* oklch */ color: oklch(44.3% 0.200 305.7);
Tailwind
colors: {
  custom: {
    50: '#9e66c3',
    500: '#6f20a8',
    950: '#000000',
  },
}
SCSS
$custom: #6f20a8;
$custom-light: #9e66c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f20a8",
  "rgb": {
    "r": 111,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 274.853,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4426,
    "c": 0.20011,
    "h": 305.7
  },
  "luminance": 0.0724
}

Semantic roles & 50–950 ramp

primary
#6F20A8
secondary
#8AC65E
accent
#EB3D86
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6F20A8

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

Preview Lab → · Contrast checker → · Palette generator →

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