#6C2FB5#6C2FB5

#6C2FB5 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.197 H 299.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#6C2FB5
RGBrgb(108, 47, 181)
HSLhsl(267, 59%, 45%)
HSVhsv(267, 74%, 71%)
CMYKcmyk(40.3%, 74%, 0%, 29%)
CIE-LABlab(35.12, 53.07, -60.33)
CIE-LCHlch(35.12, 80.35, 311.33°)
OKLaboklab(46.45% 0.0963 -0.1724)
OKLCHoklch(46.45% 0.197 299.2)
XYZxyz(15.5392, 8.5572, 44.5401)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2FB5 #78B52F
analogous
#2F35B5 #6C2FB5 #AF2FB5
triadic
#6C2FB5 #B56C2F #2FB56C
tetradic
#6C2FB5 #B52F35 #78B52F #2FB5AF
square
#6C2FB5 #B52F35 #78B52F #2FB5AF
split-complementary
#6C2FB5 #B5AF2F #35B52F
monochromatic
#321654 #4F2284 #6C2FB5 #8B50D1 #AB80DE

Accessibility & contrast

On white

7.75
#6C2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6C2FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2FB5
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2FB5#FFFFFF#000000##FFFFFF
##6C2FB51.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#5B5170
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6c2fb5;
/* rgb */ color: rgb(108, 47, 181);
/* oklch */ color: oklch(46.4% 0.197 299.2);
Tailwind
colors: {
  custom: {
    50: '#9d6dcc',
    500: '#6c2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #6c2fb5;
$custom-light: #9d6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2fb5",
  "rgb": {
    "r": 108,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 267.313,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46448,
    "c": 0.19747,
    "h": 299.2
  },
  "luminance": 0.08557
}

Semantic roles & 50–950 ramp

primary
#6C2FB5
secondary
#A3C779
accent
#E2469B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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