#6F28A9#6F28A9

#6F28A9 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.193 H 304.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#6F28A9
RGBrgb(111, 40, 169)
HSLhsl(273, 62%, 41%)
HSVhsv(273, 76%, 66%)
CMYKcmyk(34.3%, 76.3%, 0%, 33.7%)
CIE-LABlab(33.48, 53.72, -55.82)
CIE-LCHlch(33.48, 77.48, 313.90°)
OKLaboklab(45.08% 0.1097 -0.159)
OKLCHoklch(45.08% 0.193 304.6)
XYZxyz(14.4741, 7.7617, 38.2641)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F28A9 #62A928
analogous
#2E28A9 #6F28A9 #A928A2
triadic
#6F28A9 #A96F28 #28A96F
tetradic
#6F28A9 #A92E28 #62A928 #28A2A9
square
#6F28A9 #A92E28 #62A928 #28A2A9
split-complementary
#6F28A9 #A2A928 #28A92E
monochromatic
#2E1146 #4E1C78 #6F28A9 #8F3DD1 #AB6FDD

Accessibility & contrast

On white

8.23
#6F28A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6F28A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F28A9
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F28A9#FFFFFF#000000##FFFFFF
##6F28A91.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#644967
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f28a9;
/* rgb */ color: rgb(111, 40, 169);
/* oklch */ color: oklch(45.1% 0.193 304.6);
Tailwind
colors: {
  custom: {
    50: '#9e6ac3',
    500: '#6f28a9',
    950: '#000000',
  },
}
SCSS
$custom: #6f28a9;
$custom-light: #9e6ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f28a9",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 273.023,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45079,
    "c": 0.19317,
    "h": 304.6
  },
  "luminance": 0.07762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F28A9

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

Preview Lab → · Contrast checker → · Palette generator →

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