#6C2FB8#6C2FB8

#6C2FB8 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.7% C 0.201 H 298.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#6C2FB8
RGBrgb(108, 47, 184)
HSLhsl(267, 59%, 45%)
HSVhsv(267, 74%, 72%)
CMYKcmyk(41.3%, 74.5%, 0%, 27.8%)
CIE-LABlab(35.36, 53.82, -61.71)
CIE-LCHlch(35.36, 81.88, 311.09°)
OKLaboklab(46.7% 0.0956 -0.1764)
OKLCHoklch(46.7% 0.201 298.5)
XYZxyz(15.8504, 8.6816, 46.1787)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2FB8 #7BB82F
analogous
#2F37B8 #6C2FB8 #B02FB8
triadic
#6C2FB8 #B86C2F #2FB86C
tetradic
#6C2FB8 #B82F37 #7BB82F #2FB8B0
square
#6C2FB8 #B82F37 #7BB82F #2FB8B0
split-complementary
#6C2FB8 #B8B02F #37B82F
monochromatic
#331657 #4F2387 #6C2FB8 #8B52D3 #AC82DF

Accessibility & contrast

On white

7.67
#6C2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6C2FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2FB8
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2FB8#FFFFFF#000000##FFFFFF
##6C2FB81.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#595371
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6c2fb8;
/* rgb */ color: rgb(108, 47, 184);
/* oklch */ color: oklch(46.7% 0.201 298.5);
Tailwind
colors: {
  custom: {
    50: '#9d6ece',
    500: '#6c2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #6c2fb8;
$custom-light: #9d6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2fb8",
  "rgb": {
    "r": 108,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 266.715,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46698,
    "c": 0.20067,
    "h": 298.5
  },
  "luminance": 0.08682
}

Semantic roles & 50–950 ramp

primary
#6C2FB8
secondary
#A6C87B
accent
#E2459D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6C2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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