#6B28AE#6B28AE

#6B28AE is a dark, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.197 H 301.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#6B28AE
RGBrgb(107, 40, 174)
HSLhsl(270, 63%, 42%)
HSVhsv(270, 77%, 68%)
CMYKcmyk(38.5%, 77%, 0%, 31.8%)
CIE-LABlab(33.35, 54.21, -59.06)
CIE-LCHlch(33.35, 80.17, 312.55°)
OKLaboklab(45% 0.1028 -0.1686)
OKLCHoklch(45% 0.197 301.4)
XYZxyz(14.4603, 7.6993, 40.7605)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B28AE #6BAE28
analogous
#2828AE #6B28AE #AE28AE
triadic
#6B28AE #AE6B28 #28AE6B
tetradic
#6B28AE #AE2828 #6BAE28 #28AEAE
square
#6B28AE #AE2828 #6BAE28 #28AEAE
split-complementary
#6B28AE #AEAE28 #28AE28
monochromatic
#2E114A #4C1D7C #6B28AE #8A40D3 #A872DF

Accessibility & contrast

On white

8.27
#6B28AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6B28AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B28AE
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B28AE#FFFFFF#000000##FFFFFF
##6B28AE1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#5C4B6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6b28ae;
/* rgb */ color: rgb(107, 40, 174);
/* oklch */ color: oklch(45.0% 0.197 301.4);
Tailwind
colors: {
  custom: {
    50: '#9c69c7',
    500: '#6b28ae',
    950: '#000000',
  },
}
SCSS
$custom: #6b28ae;
$custom-light: #9c69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b28ae",
  "rgb": {
    "r": 107,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 270,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44997,
    "c": 0.19747,
    "h": 301.4
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#6B28AE
secondary
#99C66C
accent
#E64294
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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