#6C2FB6#6C2FB6

#6C2FB6 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.199 H 298.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#6C2FB6
RGBrgb(108, 47, 182)
HSLhsl(267, 59%, 45%)
HSVhsv(267, 74%, 71%)
CMYKcmyk(40.7%, 74.2%, 0%, 28.6%)
CIE-LABlab(35.20, 53.32, -60.79)
CIE-LCHlch(35.20, 80.86, 311.25°)
OKLaboklab(46.53% 0.0961 -0.1737)
OKLCHoklch(46.53% 0.199 298.9)
XYZxyz(15.6422, 8.5984, 45.0824)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2FB6 #79B62F
analogous
#2F36B6 #6C2FB6 #AF2FB6
triadic
#6C2FB6 #B66C2F #2FB66C
tetradic
#6C2FB6 #B62F36 #79B62F #2FB6AF
square
#6C2FB6 #B62F36 #79B62F #2FB6AF
split-complementary
#6C2FB6 #B6AF2F #36B62F
monochromatic
#321655 #4F2285 #6C2FB6 #8B50D2 #AB81DE

Accessibility & contrast

On white

7.72
#6C2FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6C2FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2FB6
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2FB6#FFFFFF#000000##FFFFFF
##6C2FB61.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#5A5270
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6c2fb6;
/* rgb */ color: rgb(108, 47, 182);
/* oklch */ color: oklch(46.5% 0.199 298.9);
Tailwind
colors: {
  custom: {
    50: '#9d6ecd',
    500: '#6c2fb6',
    950: '#000000',
  },
}
SCSS
$custom: #6c2fb6;
$custom-light: #9d6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2fb6",
  "rgb": {
    "r": 108,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 267.111,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46531,
    "c": 0.19853,
    "h": 298.9
  },
  "luminance": 0.08599
}

Semantic roles & 50–950 ramp

primary
#6C2FB6
secondary
#A4C779
accent
#E2469B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6C2FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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