#6C28B3#6C28B3

#6C28B3 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.5% C 0.203 H 300.5°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#6C28B3
RGBrgb(108, 40, 179)
HSLhsl(269, 63%, 43%)
HSVhsv(269, 78%, 70%)
CMYKcmyk(39.7%, 77.7%, 0%, 29.8%)
CIE-LABlab(33.90, 55.58, -61.13)
CIE-LCHlch(33.90, 82.62, 312.28°)
OKLaboklab(45.54% 0.1029 -0.1747)
OKLCHoklch(45.54% 0.203 300.5)
XYZxyz(15.0778, 7.9603, 43.3812)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C28B3 #6FB328
analogous
#2829B3 #6C28B3 #B228B3
triadic
#6C28B3 #B36C28 #28B36C
tetradic
#6C28B3 #B32829 #6FB328 #28B3B2
square
#6C28B3 #B32829 #6FB328 #28B3B2
split-complementary
#6C28B3 #B3B228 #29B328
monochromatic
#30124F #4E1D81 #6C28B3 #8B43D5 #AA75E0

Accessibility & contrast

On white

8.10
#6C28B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6C28B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C28B3
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C28B3#FFFFFF#000000##FFFFFF
##6C28B31.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#5C4D6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6c28b3;
/* rgb */ color: rgb(108, 40, 179);
/* oklch */ color: oklch(45.5% 0.203 300.5);
Tailwind
colors: {
  custom: {
    50: '#9d6acb',
    500: '#6c28b3',
    950: '#000000',
  },
}
SCSS
$custom: #6c28b3;
$custom-light: #9d6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c28b3",
  "rgb": {
    "r": 108,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 269.353,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45541,
    "c": 0.20275,
    "h": 300.5
  },
  "luminance": 0.0796
}

Semantic roles & 50–950 ramp

primary
#6C28B3
secondary
#9CC86F
accent
#E64196
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C28B3

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

Preview Lab → · Contrast checker → · Palette generator →

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