#6E28A8#6E28A8

#6E28A8 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.192 H 304.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#6E28A8
RGBrgb(110, 40, 168)
HSLhsl(273, 62%, 41%)
HSVhsv(273, 76%, 66%)
CMYKcmyk(34.5%, 76.2%, 0%, 34.1%)
CIE-LABlab(33.26, 53.31, -55.58)
CIE-LCHlch(33.26, 77.02, 313.80°)
OKLaboklab(44.87% 0.1085 -0.1583)
OKLCHoklch(44.87% 0.192 304.4)
XYZxyz(14.2555, 7.6598, 37.7657)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E28A8 #62A828
analogous
#2E28A8 #6E28A8 #A828A2
triadic
#6E28A8 #A86E28 #28A86E
tetradic
#6E28A8 #A82E28 #62A828 #28A2A8
square
#6E28A8 #A82E28 #62A828 #28A2A8
split-complementary
#6E28A8 #A2A828 #28A82E
monochromatic
#2D1045 #4E1C77 #6E28A8 #8E3DD1 #AA6EDC

Accessibility & contrast

On white

8.29
#6E28A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E28A8
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E28A8#FFFFFF#000000##FFFFFF
##6E28A81.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e28a8;
/* rgb */ color: rgb(110, 40, 168);
/* oklch */ color: oklch(44.9% 0.192 304.4);
Tailwind
colors: {
  custom: {
    50: '#9d6ac3',
    500: '#6e28a8',
    950: '#000000',
  },
}
SCSS
$custom: #6e28a8;
$custom-light: #9d6ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e28a8",
  "rgb": {
    "r": 110,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 272.813,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44872,
    "c": 0.19194,
    "h": 304.4
  },
  "luminance": 0.0766
}

Semantic roles & 50–950 ramp

primary
#6E28A8
secondary
#92C369
accent
#E5438C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E28A8

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

Preview Lab → · Contrast checker → · Palette generator →

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