#6F28AE#6F28AE

#6F28AE is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.198 H 303.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#6F28AE
RGBrgb(111, 40, 174)
HSLhsl(272, 63%, 42%)
HSVhsv(272, 77%, 68%)
CMYKcmyk(36.2%, 77%, 0%, 31.8%)
CIE-LABlab(33.88, 54.89, -58.16)
CIE-LCHlch(33.88, 79.97, 313.35°)
OKLaboklab(45.49% 0.1086 -0.1658)
OKLCHoklch(45.49% 0.198 303.2)
XYZxyz(14.9525, 7.9531, 40.7835)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F28AE #67AE28
analogous
#2C28AE #6F28AE #AE28AA
triadic
#6F28AE #AE6F28 #28AE6F
tetradic
#6F28AE #AE2C28 #67AE28 #28AAAE
square
#6F28AE #AE2C28 #67AE28 #28AAAE
split-complementary
#6F28AE #AAAE28 #28AE2C
monochromatic
#30114A #4F1D7C #6F28AE #8E40D3 #AB72DF

Accessibility & contrast

On white

8.11
#6F28AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6F28AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F28AE
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F28AE#FFFFFF#000000##FFFFFF
##6F28AE1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#624B6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f28ae;
/* rgb */ color: rgb(111, 40, 174);
/* oklch */ color: oklch(45.5% 0.198 303.2);
Tailwind
colors: {
  custom: {
    50: '#9e6ac7',
    500: '#6f28ae',
    950: '#000000',
  },
}
SCSS
$custom: #6f28ae;
$custom-light: #9e6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f28ae",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 271.791,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45488,
    "c": 0.19822,
    "h": 303.2
  },
  "luminance": 0.07953
}

Semantic roles & 50–950 ramp

primary
#6F28AE
secondary
#96C66C
accent
#E6428F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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