#6D28AB#6D28AB

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

Color values

HEX#6D28AB
RGBrgb(109, 40, 171)
HSLhsl(272, 62%, 41%)
HSVhsv(272, 77%, 67%)
CMYKcmyk(36.3%, 76.6%, 0%, 32.9%)
CIE-LABlab(33.37, 53.84, -57.22)
CIE-LCHlch(33.37, 78.56, 313.26°)
OKLaboklab(44.99% 0.1064 -0.1631)
OKLCHoklch(44.99% 0.195 303.1)
XYZxyz(14.4144, 7.7091, 39.2488)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D28AB #66AB28
analogous
#2C28AB #6D28AB #AB28A8
triadic
#6D28AB #AB6D28 #28AB6D
tetradic
#6D28AB #AB2C28 #66AB28 #28A8AB
square
#6D28AB #AB2C28 #66AB28 #28A8AB
split-complementary
#6D28AB #A8AB28 #28AB2C
monochromatic
#2E1148 #4D1C79 #6D28AB #8C3ED2 #AA70DE

Accessibility & contrast

On white

8.26
#6D28AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D28AB
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D28AB#FFFFFF#000000##FFFFFF
##6D28AB1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#604A68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d28ab;
/* rgb */ color: rgb(109, 40, 171);
/* oklch */ color: oklch(45.0% 0.195 303.1);
Tailwind
colors: {
  custom: {
    50: '#9d6ac5',
    500: '#6d28ab',
    950: '#000000',
  },
}
SCSS
$custom: #6d28ab;
$custom-light: #9d6ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d28ab",
  "rgb": {
    "r": 109,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 271.603,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44992,
    "c": 0.19477,
    "h": 303.1
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#6D28AB
secondary
#95C46A
accent
#E54390
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D28AB

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

Preview Lab → · Contrast checker → · Palette generator →

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