#6D28A8#6D28A8

#6D28A8 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.192 H 304.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#6D28A8
RGBrgb(109, 40, 168)
HSLhsl(272, 62%, 41%)
HSVhsv(272, 76%, 66%)
CMYKcmyk(35.1%, 76.2%, 0%, 34.1%)
CIE-LABlab(33.13, 53.13, -55.81)
CIE-LCHlch(33.13, 77.06, 313.59°)
OKLaboklab(44.75% 0.1071 -0.159)
OKLCHoklch(44.75% 0.192 304)
XYZxyz(14.1317, 7.5960, 37.7599)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D28A8 #63A828
analogous
#2D28A8 #6D28A8 #A828A3
triadic
#6D28A8 #A86D28 #28A86D
tetradic
#6D28A8 #A82D28 #63A828 #28A3A8
square
#6D28A8 #A82D28 #63A828 #28A3A8
split-complementary
#6D28A8 #A3A828 #28A82D
monochromatic
#2D1045 #4D1C77 #6D28A8 #8C3DD1 #AA6EDC

Accessibility & contrast

On white

8.34
#6D28A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6D28A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D28A8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D28A8#FFFFFF#000000##FFFFFF
##6D28A81.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#614867
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d28a8;
/* rgb */ color: rgb(109, 40, 168);
/* oklch */ color: oklch(44.7% 0.192 304.0);
Tailwind
colors: {
  custom: {
    50: '#9c69c3',
    500: '#6d28a8',
    950: '#000000',
  },
}
SCSS
$custom: #6d28a8;
$custom-light: #9c69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d28a8",
  "rgb": {
    "r": 109,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 272.344,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44746,
    "c": 0.19172,
    "h": 304
  },
  "luminance": 0.07596
}

Semantic roles & 50–950 ramp

primary
#6D28A8
secondary
#92C369
accent
#E5438E
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D28A8

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

Preview Lab → · Contrast checker → · Palette generator →

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