#6B28AF#6B28AF

#6B28AF is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.1% C 0.198 H 301.1°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#6B28AF
RGBrgb(107, 40, 175)
HSLhsl(270, 63%, 42%)
HSVhsv(270, 77%, 69%)
CMYKcmyk(38.9%, 77.1%, 0%, 31.4%)
CIE-LABlab(33.43, 54.45, -59.52)
CIE-LCHlch(33.43, 80.67, 312.45°)
OKLaboklab(45.08% 0.1025 -0.17)
OKLCHoklch(45.08% 0.198 301.1)
XYZxyz(14.5582, 7.7384, 41.2758)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B28AF #6CAF28
analogous
#2828AF #6B28AF #AF28AF
triadic
#6B28AF #AF6B28 #28AF6B
tetradic
#6B28AF #AF2828 #6CAF28 #28AFAF
square
#6B28AF #AF2828 #6CAF28 #28AFAF
split-complementary
#6B28AF #AFAF28 #28AF28
monochromatic
#2E114B #4D1D7D #6B28AF #8A41D4 #A873DF

Accessibility & contrast

On white

8.24
#6B28AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B28AF
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B28AF#FFFFFF#000000##FFFFFF
##6B28AF1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#5C4C6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6b28af;
/* rgb */ color: rgb(107, 40, 175);
/* oklch */ color: oklch(45.1% 0.198 301.1);
Tailwind
colors: {
  custom: {
    50: '#9c6ac8',
    500: '#6b28af',
    950: '#000000',
  },
}
SCSS
$custom: #6b28af;
$custom-light: #9c6ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b28af",
  "rgb": {
    "r": 107,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 269.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45081,
    "c": 0.19849,
    "h": 301.1
  },
  "luminance": 0.07739
}

Semantic roles & 50–950 ramp

primary
#6B28AF
secondary
#9AC66D
accent
#E64295
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B28AF

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

Preview Lab → · Contrast checker → · Palette generator →

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