#6C2BA9#6C2BA9

#6C2BA9 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.189 H 302.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#6C2BA9
RGBrgb(108, 43, 169)
HSLhsl(271, 59%, 42%)
HSVhsv(271, 75%, 66%)
CMYKcmyk(36.1%, 74.6%, 0%, 33.7%)
CIE-LABlab(33.52, 51.90, -55.78)
CIE-LCHlch(33.52, 76.19, 312.94°)
OKLaboklab(45.02% 0.1027 -0.159)
OKLCHoklch(45.02% 0.189 302.9)
XYZxyz(14.2080, 7.7805, 38.2817)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2BA9 #68A92B
analogous
#2D2BA9 #6C2BA9 #A92BA7
triadic
#6C2BA9 #A96C2B #2BA96C
tetradic
#6C2BA9 #A92D2B #68A92B #2BA7A9
square
#6C2BA9 #A92D2B #68A92B #2BA7A9
split-complementary
#6C2BA9 #A7A92B #2BA92D
monochromatic
#2E1247 #4D1F78 #6C2BA9 #8B42CF #A973DB

Accessibility & contrast

On white

8.22
#6C2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6C2BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2BA9
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2BA9#FFFFFF#000000##FFFFFF
##6C2BA91.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#5F4A68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6c2ba9;
/* rgb */ color: rgb(108, 43, 169);
/* oklch */ color: oklch(45.0% 0.189 302.9);
Tailwind
colors: {
  custom: {
    50: '#9c6bc3',
    500: '#6c2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #6c2ba9;
$custom-light: #9c6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2ba9",
  "rgb": {
    "r": 108,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 270.952,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4502,
    "c": 0.18924,
    "h": 302.9
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

primary
#6C2BA9
secondary
#97C36D
accent
#E34591
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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