#6F2AA9#6F2AA9

#6F2AA9 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.191 H 304.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#6F2AA9
RGBrgb(111, 42, 169)
HSLhsl(273, 60%, 41%)
HSVhsv(273, 75%, 66%)
CMYKcmyk(34.3%, 75.1%, 0%, 33.7%)
CIE-LABlab(33.77, 52.89, -55.35)
CIE-LCHlch(33.77, 76.55, 313.70°)
OKLaboklab(45.29% 0.1079 -0.1576)
OKLCHoklch(45.29% 0.191 304.4)
XYZxyz(14.5433, 7.9001, 38.2871)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2AA9 #64A92A
analogous
#2F2AA9 #6F2AA9 #A92AA4
triadic
#6F2AA9 #A96F2A #2AA96F
tetradic
#6F2AA9 #A92F2A #64A92A #2AA4A9
square
#6F2AA9 #A92F2A #64A92A #2AA4A9
split-complementary
#6F2AA9 #A4A92A #2AA92F
monochromatic
#2F1247 #4F1E78 #6F2AA9 #8E41D0 #AB72DC

Accessibility & contrast

On white

8.14
#6F2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6F2AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2AA9
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2AA9#FFFFFF#000000##FFFFFF
##6F2AA91.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#644A68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2aa9;
/* rgb */ color: rgb(111, 42, 169);
/* oklch */ color: oklch(45.3% 0.191 304.4);
Tailwind
colors: {
  custom: {
    50: '#9e6bc3',
    500: '#6f2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #6f2aa9;
$custom-light: #9e6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2aa9",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 272.598,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45285,
    "c": 0.19099,
    "h": 304.4
  },
  "luminance": 0.079
}

Semantic roles & 50–950 ramp

primary
#6F2AA9
secondary
#94C36C
accent
#E3448D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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