#6F2AA4#6F2AA4

#6F2AA4 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.186 H 305.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#6F2AA4
RGBrgb(111, 42, 164)
HSLhsl(274, 59%, 40%)
HSVhsv(274, 74%, 64%)
CMYKcmyk(32.3%, 74.4%, 0%, 35.7%)
CIE-LABlab(33.38, 51.72, -52.97)
CIE-LCHlch(33.38, 74.03, 314.31°)
OKLaboklab(44.89% 0.1089 -0.1506)
OKLCHoklch(44.89% 0.186 305.9)
XYZxyz(14.0829, 7.7159, 35.8622)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2AA4 #5FA42A
analogous
#322AA4 #6F2AA4 #A42A9C
triadic
#6F2AA4 #A46F2A #2AA46F
tetradic
#6F2AA4 #A4322A #5FA42A #2A9CA4
square
#6F2AA4 #A4322A #5FA42A #2A9CA4
split-complementary
#6F2AA4 #9CA42A #2AA432
monochromatic
#2D1143 #4E1E73 #6F2AA4 #8F3ECD #AB6EDA

Accessibility & contrast

On white

8.26
#6F2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6F2AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2AA4
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2AA4#FFFFFF#000000##FFFFFF
##6F2AA41.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f2aa4;
/* rgb */ color: rgb(111, 42, 164);
/* oklch */ color: oklch(44.9% 0.186 305.9);
Tailwind
colors: {
  custom: {
    50: '#9d6ac0',
    500: '#6f2aa4',
    950: '#000000',
  },
}
SCSS
$custom: #6f2aa4;
$custom-light: #9d6ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2aa4",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 273.934,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44888,
    "c": 0.18587,
    "h": 305.9
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#6F2AA4
secondary
#8FC169
accent
#E2458A
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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