#6F2AAE#6F2AAE

#6F2AAE is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.196 H 303.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#6F2AAE
RGBrgb(111, 42, 174)
HSLhsl(271, 61%, 42%)
HSVhsv(271, 76%, 68%)
CMYKcmyk(36.2%, 75.9%, 0%, 31.8%)
CIE-LABlab(34.17, 54.07, -57.69)
CIE-LCHlch(34.17, 79.07, 313.14°)
OKLaboklab(45.69% 0.1068 -0.1645)
OKLCHoklch(45.69% 0.196 303)
XYZxyz(15.0217, 8.0914, 40.8066)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2AAE #69AE2A
analogous
#2D2AAE #6F2AAE #AE2AAB
triadic
#6F2AAE #AE6F2A #2AAE6F
tetradic
#6F2AAE #AE2D2A #69AE2A #2AABAE
square
#6F2AAE #AE2D2A #69AE2A #2AABAE
split-complementary
#6F2AAE #ABAE2A #2AAE2D
monochromatic
#30124B #501E7D #6F2AAE #8E43D2 #AC75DE

Accessibility & contrast

On white

8.02
#6F2AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6F2AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2AAE
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2AAE#FFFFFF#000000##FFFFFF
##6F2AAE1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#624C6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2aae;
/* rgb */ color: rgb(111, 42, 174);
/* oklch */ color: oklch(45.7% 0.196 303.0);
Tailwind
colors: {
  custom: {
    50: '#9e6bc7',
    500: '#6f2aae',
    950: '#000000',
  },
}
SCSS
$custom: #6f2aae;
$custom-light: #9e6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2aae",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 271.364,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4569,
    "c": 0.19611,
    "h": 303
  },
  "luminance": 0.08091
}

Semantic roles & 50–950 ramp

primary
#6F2AAE
secondary
#98C56F
accent
#E44490
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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