#6D28A9#6D28A9

#6D28A9 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.193 H 303.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#6D28A9
RGBrgb(109, 40, 169)
HSLhsl(272, 62%, 41%)
HSVhsv(272, 76%, 66%)
CMYKcmyk(35.5%, 76.3%, 0%, 33.7%)
CIE-LABlab(33.21, 53.37, -56.28)
CIE-LCHlch(33.21, 77.56, 313.48°)
OKLaboklab(44.83% 0.1069 -0.1604)
OKLCHoklch(44.83% 0.193 303.7)
XYZxyz(14.2252, 7.6334, 38.2524)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D28A9 #64A928
analogous
#2C28A9 #6D28A9 #A928A4
triadic
#6D28A9 #A96D28 #28A96D
tetradic
#6D28A9 #A92C28 #64A928 #28A4A9
square
#6D28A9 #A92C28 #64A928 #28A4A9
split-complementary
#6D28A9 #A4A928 #28A92C
monochromatic
#2D1146 #4D1C78 #6D28A9 #8C3DD1 #AA6FDD

Accessibility & contrast

On white

8.31
#6D28A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D28A9
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D28A9#FFFFFF#000000##FFFFFF
##6D28A91.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#614967
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d28a9;
/* rgb */ color: rgb(109, 40, 169);
/* oklch */ color: oklch(44.8% 0.193 303.7);
Tailwind
colors: {
  custom: {
    50: '#9c69c3',
    500: '#6d28a9',
    950: '#000000',
  },
}
SCSS
$custom: #6d28a9;
$custom-light: #9c69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d28a9",
  "rgb": {
    "r": 109,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 272.093,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44828,
    "c": 0.19274,
    "h": 303.7
  },
  "luminance": 0.07633
}

Semantic roles & 50–950 ramp

primary
#6D28A9
secondary
#93C469
accent
#E5438E
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D28A9

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

Preview Lab → · Contrast checker → · Palette generator →

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