#6B28AA#6B28AA

#6B28AA is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.7% C 0.193 H 302.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#6B28AA
RGBrgb(107, 40, 170)
HSLhsl(271, 62%, 41%)
HSVhsv(271, 76%, 67%)
CMYKcmyk(37.1%, 76.5%, 0%, 33.3%)
CIE-LABlab(33.02, 53.25, -57.20)
CIE-LCHlch(33.02, 78.15, 312.95°)
OKLaboklab(44.66% 0.1038 -0.1632)
OKLCHoklch(44.66% 0.193 302.4)
XYZxyz(14.0762, 7.5456, 38.7373)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B28AA #67AA28
analogous
#2A28AA #6B28AA #AA28A8
triadic
#6B28AA #AA6B28 #28AA6B
tetradic
#6B28AA #AA2A28 #67AA28 #28A8AA
square
#6B28AA #AA2A28 #67AA28 #28A8AA
split-complementary
#6B28AA #A8AA28 #28AA2A
monochromatic
#2D1147 #4C1C78 #6B28AA #8A3ED2 #A86FDD

Accessibility & contrast

On white

8.37
#6B28AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6B28AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B28AA
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B28AA#FFFFFF#000000##FFFFFF
##6B28AA1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#5E4A68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6b28aa;
/* rgb */ color: rgb(107, 40, 170);
/* oklch */ color: oklch(44.7% 0.193 302.4);
Tailwind
colors: {
  custom: {
    50: '#9b69c4',
    500: '#6b28aa',
    950: '#000000',
  },
}
SCSS
$custom: #6b28aa;
$custom-light: #9b69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b28aa",
  "rgb": {
    "r": 107,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 270.923,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44662,
    "c": 0.19337,
    "h": 302.4
  },
  "luminance": 0.07546
}

Semantic roles & 50–950 ramp

primary
#6B28AA
secondary
#96C46A
accent
#E54391
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B28AA

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

Preview Lab → · Contrast checker → · Palette generator →

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