#6A20B3#6A20B3

#6A20B3 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.210 H 300.4°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#6A20B3
RGBrgb(106, 32, 179)
HSLhsl(270, 70%, 41%)
HSVhsv(270, 82%, 70%)
CMYKcmyk(40.8%, 82.1%, 0%, 29.8%)
CIE-LABlab(32.59, 58.29, -63.28)
CIE-LCHlch(32.59, 86.03, 312.65°)
OKLaboklab(44.58% 0.106 -0.181)
OKLCHoklch(44.58% 0.21 300.4)
XYZxyz(14.5950, 7.3517, 43.2892)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A20B3 #69B320
analogous
#2120B3 #6A20B3 #B320B3
triadic
#6A20B3 #B36A20 #20B36A
tetradic
#6A20B3 #B32120 #69B320 #20B3B3
square
#6A20B3 #B32120 #69B320 #20B3B3
split-complementary
#6A20B3 #B3B320 #20B321
monochromatic
#2D0D4B #4B177F #6A20B3 #8935DB #A769E4

Accessibility & contrast

On white

8.50
#6A20B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6A20B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A20B3
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A20B3#FFFFFF#000000##FFFFFF
##6A20B31.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#594A6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a20b3;
/* rgb */ color: rgb(106, 32, 179);
/* oklch */ color: oklch(44.6% 0.210 300.4);
Tailwind
colors: {
  custom: {
    50: '#9c66cb',
    500: '#6a20b3',
    950: '#000000',
  },
}
SCSS
$custom: #6a20b3;
$custom-light: #9c66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a20b3",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 270.204,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44575,
    "c": 0.20977,
    "h": 300.4
  },
  "luminance": 0.07352
}

Semantic roles & 50–950 ramp

primary
#6A20B3
secondary
#97CA65
accent
#EC3B93
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A20B3

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

Preview Lab → · Contrast checker → · Palette generator →

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