#6F28AB#6F28AB

#6F28AB is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.195 H 304.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#6F28AB
RGBrgb(111, 40, 171)
HSLhsl(273, 62%, 41%)
HSVhsv(273, 77%, 67%)
CMYKcmyk(35.1%, 76.6%, 0%, 32.9%)
CIE-LABlab(33.64, 54.19, -56.76)
CIE-LCHlch(33.64, 78.48, 313.67°)
OKLaboklab(45.24% 0.1093 -0.1617)
OKLCHoklch(45.24% 0.195 304)
XYZxyz(14.6633, 7.8374, 39.2605)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F28AB #64AB28
analogous
#2E28AB #6F28AB #AB28A6
triadic
#6F28AB #AB6F28 #28AB6F
tetradic
#6F28AB #AB2E28 #64AB28 #28A6AB
square
#6F28AB #AB2E28 #64AB28 #28A6AB
split-complementary
#6F28AB #A6AB28 #28AB2E
monochromatic
#2F1148 #4F1C79 #6F28AB #8E3ED2 #AB70DE

Accessibility & contrast

On white

8.18
#6F28AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6F28AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F28AB
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F28AB#FFFFFF#000000##FFFFFF
##6F28AB1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#634968
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f28ab;
/* rgb */ color: rgb(111, 40, 171);
/* oklch */ color: oklch(45.2% 0.195 304.0);
Tailwind
colors: {
  custom: {
    50: '#9e6ac5',
    500: '#6f28ab',
    950: '#000000',
  },
}
SCSS
$custom: #6f28ab;
$custom-light: #9e6ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f28ab",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 272.519,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45242,
    "c": 0.19519,
    "h": 304
  },
  "luminance": 0.07837
}

Semantic roles & 50–950 ramp

primary
#6F28AB
secondary
#94C46A
accent
#E5438D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F28AB

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

Preview Lab → · Contrast checker → · Palette generator →

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