#6E28BD#6E28BD

#6E28BD is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.213 H 298.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#6E28BD
RGBrgb(110, 40, 189)
HSLhsl(268, 65%, 45%)
HSVhsv(268, 79%, 74%)
CMYKcmyk(41.8%, 78.8%, 0%, 25.9%)
CIE-LABlab(35.02, 58.30, -65.22)
CIE-LCHlch(35.02, 87.48, 311.80°)
OKLaboklab(46.64% 0.1031 -0.1866)
OKLCHoklch(46.64% 0.213 298.9)
XYZxyz(16.3722, 8.5065, 48.9136)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E28BD #77BD28
analogous
#282CBD #6E28BD #B928BD
triadic
#6E28BD #BD6E28 #28BD6E
tetradic
#6E28BD #BD282C #77BD28 #28BDB9
square
#6E28BD #BD282C #77BD28 #28BDB9
split-complementary
#6E28BD #BDB928 #2CBD28
monochromatic
#331358 #511D8A #6E28BD #8D4AD9 #AD7CE3

Accessibility & contrast

On white

7.77
#6E28BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6E28BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E28BD
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E28BD#FFFFFF#000000##FFFFFF
##6E28BD1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#5A5173
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6e28bd;
/* rgb */ color: rgb(110, 40, 189);
/* oklch */ color: oklch(46.6% 0.213 298.9);
Tailwind
colors: {
  custom: {
    50: '#9f6bd2',
    500: '#6e28bd',
    950: '#000000',
  },
}
SCSS
$custom: #6e28bd;
$custom-light: #9f6bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e28bd",
  "rgb": {
    "r": 110,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 268.188,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46641,
    "c": 0.21317,
    "h": 298.9
  },
  "luminance": 0.08507
}

Semantic roles & 50–950 ramp

primary
#6E28BD
secondary
#A3CB75
accent
#E84099
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6E28BD

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

Preview Lab → · Contrast checker → · Palette generator →

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