#6F28BD#6F28BD

#6F28BD is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.213 H 299.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6F28BD
RGBrgb(111, 40, 189)
HSLhsl(269, 65%, 45%)
HSVhsv(269, 79%, 74%)
CMYKcmyk(41.3%, 78.8%, 0%, 25.9%)
CIE-LABlab(35.14, 58.46, -65.00)
CIE-LCHlch(35.14, 87.42, 311.97°)
OKLaboklab(46.76% 0.1045 -0.1859)
OKLCHoklch(46.76% 0.213 299.3)
XYZxyz(16.4973, 8.5710, 48.9194)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F28BD #76BD28
analogous
#282BBD #6F28BD #BA28BD
triadic
#6F28BD #BD6F28 #28BD6F
tetradic
#6F28BD #BD282B #76BD28 #28BDBA
square
#6F28BD #BD282B #76BD28 #28BDBA
split-complementary
#6F28BD #BDBA28 #2BBD28
monochromatic
#341358 #511D8A #6F28BD #8E4AD9 #AD7CE3

Accessibility & contrast

On white

7.74
#6F28BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6F28BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F28BD
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F28BD#FFFFFF#000000##FFFFFF
##6F28BD1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f28bd;
/* rgb */ color: rgb(111, 40, 189);
/* oklch */ color: oklch(46.8% 0.213 299.3);
Tailwind
colors: {
  custom: {
    50: '#a06bd2',
    500: '#6f28bd',
    950: '#000000',
  },
}
SCSS
$custom: #6f28bd;
$custom-light: #a06bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f28bd",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 268.591,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46758,
    "c": 0.21331,
    "h": 299.3
  },
  "luminance": 0.08571
}

Semantic roles & 50–950 ramp

primary
#6F28BD
secondary
#A2CB75
accent
#E84098
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #6F28BD

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

Preview Lab → · Contrast checker → · Palette generator →

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