#6F2AA8#6F2AA8

#6F2AA8 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.190 H 304.7°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#6F2AA8
RGBrgb(111, 42, 168)
HSLhsl(273, 60%, 41%)
HSVhsv(273, 75%, 66%)
CMYKcmyk(33.9%, 75%, 0%, 34.1%)
CIE-LABlab(33.70, 52.65, -54.88)
CIE-LCHlch(33.70, 76.05, 313.82°)
OKLaboklab(45.21% 0.1081 -0.1562)
OKLCHoklch(45.21% 0.19 304.7)
XYZxyz(14.4498, 7.8627, 37.7946)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2AA8 #63A82A
analogous
#302AA8 #6F2AA8 #A82AA2
triadic
#6F2AA8 #A86F2A #2AA86F
tetradic
#6F2AA8 #A8302A #63A82A #2AA2A8
square
#6F2AA8 #A8302A #63A82A #2AA2A8
split-complementary
#6F2AA8 #A2A82A #2AA830
monochromatic
#2E1246 #4F1E77 #6F2AA8 #8E40CF #AB71DB

Accessibility & contrast

On white

8.16
#6F2AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6F2AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2AA8
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2AA8#FFFFFF#000000##FFFFFF
##6F2AA81.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#644967
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2aa8;
/* rgb */ color: rgb(111, 42, 168);
/* oklch */ color: oklch(45.2% 0.190 304.7);
Tailwind
colors: {
  custom: {
    50: '#9e6bc3',
    500: '#6f2aa8',
    950: '#000000',
  },
}
SCSS
$custom: #6f2aa8;
$custom-light: #9e6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2aa8",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 272.857,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45205,
    "c": 0.18997,
    "h": 304.7
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#6F2AA8
secondary
#93C36B
accent
#E3458C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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