#6A28AF#6A28AF

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

Color values

HEX#6A28AF
RGBrgb(106, 40, 175)
HSLhsl(269, 63%, 42%)
HSVhsv(269, 77%, 69%)
CMYKcmyk(39.4%, 77.1%, 0%, 31.4%)
CIE-LABlab(33.30, 54.29, -59.74)
CIE-LCHlch(33.30, 80.72, 312.26°)
OKLaboklab(44.96% 0.101 -0.1707)
OKLCHoklch(44.96% 0.198 300.6)
XYZxyz(14.4386, 7.6768, 41.2702)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A28AF #6DAF28
analogous
#282AAF #6A28AF #AE28AF
triadic
#6A28AF #AF6A28 #28AF6A
tetradic
#6A28AF #AF282A #6DAF28 #28AFAE
square
#6A28AF #AF282A #6DAF28 #28AFAE
split-complementary
#6A28AF #AFAE28 #2AAF28
monochromatic
#2E114B #4C1D7D #6A28AF #8841D4 #A773DF

Accessibility & contrast

On white

8.28
#6A28AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A28AF
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A28AF#FFFFFF#000000##FFFFFF
##6A28AF1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#5A4C6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a28af;
/* rgb */ color: rgb(106, 40, 175);
/* oklch */ color: oklch(45.0% 0.198 300.6);
Tailwind
colors: {
  custom: {
    50: '#9b69c8',
    500: '#6a28af',
    950: '#000000',
  },
}
SCSS
$custom: #6a28af;
$custom-light: #9b69c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a28af",
  "rgb": {
    "r": 106,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 269.333,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4496,
    "c": 0.19834,
    "h": 300.6
  },
  "luminance": 0.07677
}

Semantic roles & 50–950 ramp

primary
#6A28AF
secondary
#9AC66D
accent
#E64296
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A28AF

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

Preview Lab → · Contrast checker → · Palette generator →

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