#6E20B3#6E20B3

#6E20B3 is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.1% C 0.210 H 302.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#6E20B3
RGBrgb(110, 32, 179)
HSLhsl(272, 70%, 41%)
HSVhsv(272, 82%, 70%)
CMYKcmyk(38.5%, 82.1%, 0%, 29.8%)
CIE-LABlab(33.14, 58.88, -62.36)
CIE-LCHlch(33.14, 85.76, 313.35°)
OKLaboklab(45.07% 0.112 -0.1782)
OKLCHoklch(45.07% 0.21 302.1)
XYZxyz(15.0816, 7.6026, 43.3120)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E20B3 #65B320
analogous
#2520B3 #6E20B3 #B320AF
triadic
#6E20B3 #B36E20 #20B36E
tetradic
#6E20B3 #B32520 #65B320 #20AFB3
square
#6E20B3 #B32520 #65B320 #20AFB3
split-complementary
#6E20B3 #AFB320 #20B325
monochromatic
#2E0D4B #4E177F #6E20B3 #8D35DB #AA69E4

Accessibility & contrast

On white

8.33
#6E20B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6E20B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E20B3
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E20B3#FFFFFF#000000##FFFFFF
##6E20B31.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#5F4A6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e20b3;
/* rgb */ color: rgb(110, 32, 179);
/* oklch */ color: oklch(45.1% 0.210 302.1);
Tailwind
colors: {
  custom: {
    50: '#9e67cb',
    500: '#6e20b3',
    950: '#000000',
  },
}
SCSS
$custom: #6e20b3;
$custom-light: #9e67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e20b3",
  "rgb": {
    "r": 110,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 271.837,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45071,
    "c": 0.21043,
    "h": 302.1
  },
  "luminance": 0.07603
}

Semantic roles & 50–950 ramp

primary
#6E20B3
secondary
#94CA65
accent
#EC3B8E
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6E20B3

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

Preview Lab → · Contrast checker → · Palette generator →

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