#6C2DB3#6C2DB3

#6C2DB3 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.1% C 0.198 H 299.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6C2DB3
RGBrgb(108, 45, 179)
HSLhsl(268, 60%, 44%)
HSVhsv(268, 75%, 70%)
CMYKcmyk(39.7%, 74.9%, 0%, 29.8%)
CIE-LABlab(34.64, 53.46, -59.93)
CIE-LCHlch(34.64, 80.31, 311.74°)
OKLaboklab(46.06% 0.0986 -0.1712)
OKLCHoklch(46.06% 0.198 299.9)
XYZxyz(15.2574, 8.3194, 43.4411)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2DB3 #74B32D
analogous
#2D31B3 #6C2DB3 #AF2DB3
triadic
#6C2DB3 #B36C2D #2DB36C
tetradic
#6C2DB3 #B32D31 #74B32D #2DB3AF
square
#6C2DB3 #B32D31 #74B32D #2DB3AF
split-complementary
#6C2DB3 #B3AF2D #31B32D
monochromatic
#311451 #4E2182 #6C2DB3 #8B4BD2 #AA7CDE

Accessibility & contrast

On white

7.88
#6C2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6C2DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2DB3
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2DB3#FFFFFF#000000##FFFFFF
##6C2DB31.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#5B506E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c2db3;
/* rgb */ color: rgb(108, 45, 179);
/* oklch */ color: oklch(46.1% 0.198 299.9);
Tailwind
colors: {
  custom: {
    50: '#9c6ccb',
    500: '#6c2db3',
    950: '#000000',
  },
}
SCSS
$custom: #6c2db3;
$custom-light: #9c6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2db3",
  "rgb": {
    "r": 108,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 268.209,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4606,
    "c": 0.19754,
    "h": 299.9
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#6C2DB3
secondary
#A0C775
accent
#E34599
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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