#6F20B3#6F20B3

#6F20B3 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.2% C 0.211 H 302.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#6F20B3
RGBrgb(111, 32, 179)
HSLhsl(272, 70%, 41%)
HSVhsv(272, 82%, 70%)
CMYKcmyk(38%, 82.1%, 0%, 29.8%)
CIE-LABlab(33.28, 59.02, -62.13)
CIE-LCHlch(33.28, 85.70, 313.53°)
OKLaboklab(45.2% 0.1134 -0.1774)
OKLCHoklch(45.2% 0.211 302.6)
XYZxyz(15.2068, 7.6672, 43.3179)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F20B3 #64B320
analogous
#2620B3 #6F20B3 #B320AE
triadic
#6F20B3 #B36F20 #20B36F
tetradic
#6F20B3 #B32620 #64B320 #20AEB3
square
#6F20B3 #B32620 #64B320 #20AEB3
split-complementary
#6F20B3 #AEB320 #20B326
monochromatic
#2F0D4B #4F177F #6F20B3 #8E35DB #AB69E4

Accessibility & contrast

On white

8.29
#6F20B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6F20B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F20B3
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F20B3#FFFFFF#000000##FFFFFF
##6F20B31.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#60496B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f20b3;
/* rgb */ color: rgb(111, 32, 179);
/* oklch */ color: oklch(45.2% 0.211 302.6);
Tailwind
colors: {
  custom: {
    50: '#9f67cb',
    500: '#6f20b3',
    950: '#000000',
  },
}
SCSS
$custom: #6f20b3;
$custom-light: #9f67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f20b3",
  "rgb": {
    "r": 111,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 272.245,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45196,
    "c": 0.21061,
    "h": 302.6
  },
  "luminance": 0.07667
}

Semantic roles & 50–950 ramp

primary
#6F20B3
secondary
#94CA65
accent
#EC3B8D
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F20B3

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

Preview Lab → · Contrast checker → · Palette generator →

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