#6B28AD#6B28AD

#6B28AD is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.196 H 301.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#6B28AD
RGBrgb(107, 40, 173)
HSLhsl(270, 62%, 42%)
HSVhsv(270, 77%, 68%)
CMYKcmyk(38.2%, 76.9%, 0%, 32.2%)
CIE-LABlab(33.27, 53.97, -58.60)
CIE-LCHlch(33.27, 79.66, 312.65°)
OKLaboklab(44.91% 0.103 -0.1673)
OKLCHoklch(44.91% 0.196 301.6)
XYZxyz(14.3632, 7.6604, 40.2490)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B28AD #6AAD28
analogous
#2928AD #6B28AD #AD28AC
triadic
#6B28AD #AD6B28 #28AD6B
tetradic
#6B28AD #AD2928 #6AAD28 #28ACAD
square
#6B28AD #AD2928 #6AAD28 #28ACAD
split-complementary
#6B28AD #ACAD28 #28AD29
monochromatic
#2E114A #4C1D7B #6B28AD #8A3FD3 #A871DE

Accessibility & contrast

On white

8.29
#6B28AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6B28AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B28AD
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B28AD#FFFFFF#000000##FFFFFF
##6B28AD1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#5D4B69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6b28ad;
/* rgb */ color: rgb(107, 40, 173);
/* oklch */ color: oklch(44.9% 0.196 301.6);
Tailwind
colors: {
  custom: {
    50: '#9c69c6',
    500: '#6b28ad',
    950: '#000000',
  },
}
SCSS
$custom: #6b28ad;
$custom-light: #9c69c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b28ad",
  "rgb": {
    "r": 107,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 270.226,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44913,
    "c": 0.19644,
    "h": 301.6
  },
  "luminance": 0.07661
}

Semantic roles & 50–950 ramp

primary
#6B28AD
secondary
#98C56C
accent
#E64293
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B28AD

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

Preview Lab → · Contrast checker → · Palette generator →

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