#6F20AA#6F20AA

#6F20AA is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.4% C 0.202 H 305.1°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#6F20AA
RGBrgb(111, 32, 170)
HSLhsl(274, 68%, 40%)
HSVhsv(274, 81%, 67%)
CMYKcmyk(34.7%, 81.2%, 0%, 33.3%)
CIE-LABlab(32.51, 56.98, -58.00)
CIE-LCHlch(32.51, 81.31, 314.49°)
OKLaboklab(44.43% 0.1161 -0.1653)
OKLCHoklch(44.43% 0.202 305.1)
XYZxyz(14.3261, 7.3149, 38.6796)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F20AA #5BAA20
analogous
#2A20AA #6F20AA #AA20A0
triadic
#6F20AA #AA6F20 #20AA6F
tetradic
#6F20AA #AA2A20 #5BAA20 #20A0AA
square
#6F20AA #AA2A20 #5BAA20 #20A0AA
split-complementary
#6F20AA #A0AA20 #20AA2A
monochromatic
#2C0D43 #4D1676 #6F20AA #902FD8 #AB63E2

Accessibility & contrast

On white

8.53
#6F20AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6F20AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F20AA
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F20AA#FFFFFF#000000##FFFFFF
##6F20AA1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#644566
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f20aa;
/* rgb */ color: rgb(111, 32, 170);
/* oklch */ color: oklch(44.4% 0.202 305.1);
Tailwind
colors: {
  custom: {
    50: '#9e66c4',
    500: '#6f20aa',
    950: '#000000',
  },
}
SCSS
$custom: #6f20aa;
$custom-light: #9e66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f20aa",
  "rgb": {
    "r": 111,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 274.348,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44427,
    "c": 0.20202,
    "h": 305.1
  },
  "luminance": 0.07315
}

Semantic roles & 50–950 ramp

primary
#6F20AA
secondary
#8BC75F
accent
#EB3D87
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6F20AA

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

Preview Lab → · Contrast checker → · Palette generator →

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