#6C2FBC#6C2FBC

#6C2FBC is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.0% C 0.205 H 297.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#6C2FBC
RGBrgb(108, 47, 188)
HSLhsl(266, 60%, 46%)
HSVhsv(266, 75%, 74%)
CMYKcmyk(42.6%, 75%, 0%, 26.3%)
CIE-LABlab(35.70, 54.82, -63.52)
CIE-LCHlch(35.70, 83.91, 310.79°)
OKLaboklab(47.04% 0.0947 -0.1817)
OKLCHoklch(47.04% 0.205 297.5)
XYZxyz(16.2756, 8.8517, 48.4183)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2FBC #7FBC2F
analogous
#2F39BC #6C2FBC #B22FBC
triadic
#6C2FBC #BC6C2F #2FBC6C
tetradic
#6C2FBC #BC2F39 #7FBC2F #2FBCB2
square
#6C2FBC #BC2F39 #7FBC2F #2FBCB2
split-complementary
#6C2FBC #BCB22F #39BC2F
monochromatic
#34175A #50238B #6C2FBC #8B54D4 #AD85E0

Accessibility & contrast

On white

7.58
#6C2FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6C2FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2FBC
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2FBC#FFFFFF#000000##FFFFFF
##6C2FBC1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#575474
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6c2fbc;
/* rgb */ color: rgb(108, 47, 188);
/* oklch */ color: oklch(47.0% 0.205 297.5);
Tailwind
colors: {
  custom: {
    50: '#9d6ed1',
    500: '#6c2fbc',
    950: '#000000',
  },
}
SCSS
$custom: #6c2fbc;
$custom-light: #9d6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2fbc",
  "rgb": {
    "r": 108,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 265.957,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47036,
    "c": 0.20492,
    "h": 297.5
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

primary
#6C2FBC
secondary
#A9CA7D
accent
#E3459F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6C2FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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