#6F28A3#6F28A3

#6F28A3 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.6% C 0.187 H 306.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#6F28A3
RGBrgb(111, 40, 163)
HSLhsl(275, 61%, 40%)
HSVhsv(275, 75%, 64%)
CMYKcmyk(31.9%, 75.5%, 0%, 36.1%)
CIE-LABlab(33.01, 52.33, -52.98)
CIE-LCHlch(33.01, 74.47, 314.65°)
OKLaboklab(44.6% 0.111 -0.1506)
OKLCHoklch(44.6% 0.187 306.4)
XYZxyz(13.9238, 7.5416, 35.3654)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F28A3 #5CA328
analogous
#3128A3 #6F28A3 #A3289A
triadic
#6F28A3 #A36F28 #28A36F
tetradic
#6F28A3 #A33128 #5CA328 #289AA3
square
#6F28A3 #A33128 #5CA328 #289AA3
split-complementary
#6F28A3 #9AA328 #28A331
monochromatic
#2C1041 #4E1C72 #6F28A3 #903ACF #AB6BDB

Accessibility & contrast

On white

8.37
#6F28A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6F28A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F28A3
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F28A3#FFFFFF#000000##FFFFFF
##6F28A31.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f28a3;
/* rgb */ color: rgb(111, 40, 163);
/* oklch */ color: oklch(44.6% 0.187 306.4);
Tailwind
colors: {
  custom: {
    50: '#9d69bf',
    500: '#6f28a3',
    950: '#000000',
  },
}
SCSS
$custom: #6f28a3;
$custom-light: #9d69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f28a3",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 274.634,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44599,
    "c": 0.18712,
    "h": 306.4
  },
  "luminance": 0.07541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F28A3

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

Preview Lab → · Contrast checker → · Palette generator →

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