#6F2AA6#6F2AA6

#6F2AA6 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.188 H 305.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#6F2AA6
RGBrgb(111, 42, 166)
HSLhsl(273, 60%, 41%)
HSVhsv(273, 75%, 65%)
CMYKcmyk(33.1%, 74.7%, 0%, 34.9%)
CIE-LABlab(33.54, 52.18, -53.93)
CIE-LCHlch(33.54, 75.04, 314.06°)
OKLaboklab(45.05% 0.1085 -0.1534)
OKLCHoklch(45.05% 0.188 305.3)
XYZxyz(14.2649, 7.7887, 36.8209)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2AA6 #61A62A
analogous
#312AA6 #6F2AA6 #A62A9F
triadic
#6F2AA6 #A66F2A #2AA66F
tetradic
#6F2AA6 #A6312A #61A62A #2A9FA6
square
#6F2AA6 #A6312A #61A62A #2A9FA6
split-complementary
#6F2AA6 #9FA62A #2AA631
monochromatic
#2E1144 #4E1E75 #6F2AA6 #8F3FCE #AB70DB

Accessibility & contrast

On white

8.21
#6F2AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6F2AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2AA6
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2AA6#FFFFFF#000000##FFFFFF
##6F2AA61.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#654866
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2aa6;
/* rgb */ color: rgb(111, 42, 166);
/* oklch */ color: oklch(45.0% 0.188 305.3);
Tailwind
colors: {
  custom: {
    50: '#9d6bc1',
    500: '#6f2aa6',
    950: '#000000',
  },
}
SCSS
$custom: #6f2aa6;
$custom-light: #9d6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2aa6",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 273.387,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45046,
    "c": 0.18792,
    "h": 305.3
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#6F2AA6
secondary
#91C26A
accent
#E3458B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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