#6F2AAC#6F2AAC

#6F2AAC is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.194 H 303.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#6F2AAC
RGBrgb(111, 42, 172)
HSLhsl(272, 61%, 42%)
HSVhsv(272, 76%, 67%)
CMYKcmyk(35.5%, 75.6%, 0%, 32.5%)
CIE-LABlab(34.01, 53.60, -56.76)
CIE-LCHlch(34.01, 78.06, 313.36°)
OKLaboklab(45.53% 0.1072 -0.1617)
OKLCHoklch(45.53% 0.194 303.5)
XYZxyz(14.8282, 8.0140, 39.7874)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2AAC #67AC2A
analogous
#2E2AAC #6F2AAC #AC2AA8
triadic
#6F2AAC #AC6F2A #2AAC6F
tetradic
#6F2AAC #AC2E2A #67AC2A #2AA8AC
square
#6F2AAC #AC2E2A #67AC2A #2AA8AC
split-complementary
#6F2AAC #A8AC2A #2AAC2E
monochromatic
#30124A #4F1E7B #6F2AAC #8E42D1 #AB73DD

Accessibility & contrast

On white

8.07
#6F2AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6F2AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2AAC
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2AAC#FFFFFF#000000##FFFFFF
##6F2AAC1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#634B69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2aac;
/* rgb */ color: rgb(111, 42, 172);
/* oklch */ color: oklch(45.5% 0.194 303.5);
Tailwind
colors: {
  custom: {
    50: '#9e6bc6',
    500: '#6f2aac',
    950: '#000000',
  },
}
SCSS
$custom: #6f2aac;
$custom-light: #9e6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2aac",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 271.846,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45527,
    "c": 0.19406,
    "h": 303.5
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#6F2AAC
secondary
#96C46D
accent
#E4448F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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