#6F28A4#6F28A4

#6F28A4 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.188 H 306.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#6F28A4
RGBrgb(111, 40, 164)
HSLhsl(274, 61%, 40%)
HSVhsv(274, 76%, 64%)
CMYKcmyk(32.3%, 75.6%, 0%, 35.7%)
CIE-LABlab(33.09, 52.56, -53.46)
CIE-LCHlch(33.09, 74.97, 314.52°)
OKLaboklab(44.68% 0.1108 -0.152)
OKLCHoklch(44.68% 0.188 306.1)
XYZxyz(14.0137, 7.5776, 35.8391)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F28A4 #5DA428
analogous
#3128A4 #6F28A4 #A4289B
triadic
#6F28A4 #A46F28 #28A46F
tetradic
#6F28A4 #A43128 #5DA428 #289BA4
square
#6F28A4 #A43128 #5DA428 #289BA4
split-complementary
#6F28A4 #9BA428 #28A431
monochromatic
#2C1042 #4E1C73 #6F28A4 #8F3ACF #AB6BDB

Accessibility & contrast

On white

8.35
#6F28A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6F28A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F28A4
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F28A4#FFFFFF#000000##FFFFFF
##6F28A41.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#664664
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f28a4;
/* rgb */ color: rgb(111, 40, 164);
/* oklch */ color: oklch(44.7% 0.188 306.1);
Tailwind
colors: {
  custom: {
    50: '#9d69c0',
    500: '#6f28a4',
    950: '#000000',
  },
}
SCSS
$custom: #6f28a4;
$custom-light: #9d69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f28a4",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 274.355,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.44678,
    "c": 0.18813,
    "h": 306.1
  },
  "luminance": 0.07577
}

Semantic roles & 50–950 ramp

primary
#6F28A4
secondary
#8DC166
accent
#E44488
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F28A4

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

Preview Lab → · Contrast checker → · Palette generator →

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