#6F28A5#6F28A5

#6F28A5 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.189 H 305.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#6F28A5
RGBrgb(111, 40, 165)
HSLhsl(274, 61%, 40%)
HSVhsv(274, 76%, 65%)
CMYKcmyk(32.7%, 75.8%, 0%, 35.3%)
CIE-LABlab(33.17, 52.79, -53.93)
CIE-LCHlch(33.17, 75.47, 314.39°)
OKLaboklab(44.76% 0.1106 -0.1534)
OKLCHoklch(44.76% 0.189 305.8)
XYZxyz(14.1044, 7.6138, 36.3166)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F28A5 #5EA528
analogous
#3028A5 #6F28A5 #A5289D
triadic
#6F28A5 #A56F28 #28A56F
tetradic
#6F28A5 #A53028 #5EA528 #289DA5
square
#6F28A5 #A53028 #5EA528 #289DA5
split-complementary
#6F28A5 #9DA528 #28A530
monochromatic
#2D1042 #4E1C74 #6F28A5 #8F3BCF #AB6CDB

Accessibility & contrast

On white

8.32
#6F28A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F28A5
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F28A5#FFFFFF#000000##FFFFFF
##6F28A51.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#654765
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f28a5;
/* rgb */ color: rgb(111, 40, 165);
/* oklch */ color: oklch(44.8% 0.189 305.8);
Tailwind
colors: {
  custom: {
    50: '#9d69c1',
    500: '#6f28a5',
    950: '#000000',
  },
}
SCSS
$custom: #6f28a5;
$custom-light: #9d69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f28a5",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 274.08,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44758,
    "c": 0.18914,
    "h": 305.8
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#6F28A5
secondary
#8EC267
accent
#E44489
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F28A5

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

Preview Lab → · Contrast checker → · Palette generator →

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