#6F2AA1#6F2AA1

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

Color values

HEX#6F2AA1
RGBrgb(111, 42, 161)
HSLhsl(275, 59%, 40%)
HSVhsv(275, 74%, 63%)
CMYKcmyk(31.1%, 73.9%, 0%, 36.9%)
CIE-LABlab(33.15, 51.02, -51.54)
CIE-LCHlch(33.15, 72.52, 314.71°)
OKLaboklab(44.65% 0.1095 -0.1464)
OKLCHoklch(44.65% 0.183 306.8)
XYZxyz(13.8151, 7.6088, 34.4522)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2AA1 #5CA12A
analogous
#342AA1 #6F2AA1 #A12A98
triadic
#6F2AA1 #A16F2A #2AA16F
tetradic
#6F2AA1 #A1342A #5CA12A #2A98A1
square
#6F2AA1 #A1342A #5CA12A #2A98A1
split-complementary
#6F2AA1 #98A12A #2AA134
monochromatic
#2C1140 #4E1D70 #6F2AA1 #903CCC #AB6DD9

Accessibility & contrast

On white

8.33
#6F2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2AA1
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2AA1#FFFFFF#000000##FFFFFF
##6F2AA11.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#664663
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f2aa1;
/* rgb */ color: rgb(111, 42, 161);
/* oklch */ color: oklch(44.7% 0.183 306.8);
Tailwind
colors: {
  custom: {
    50: '#9d6abe',
    500: '#6f2aa1',
    950: '#000000',
  },
}
SCSS
$custom: #6f2aa1;
$custom-light: #9d6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2aa1",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 274.79,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44653,
    "c": 0.1828,
    "h": 306.8
  },
  "luminance": 0.07609
}

Semantic roles & 50–950 ramp

primary
#6F2AA1
secondary
#8CC067
accent
#E24687
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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