#6F2AAB#6F2AAB

#6F2AAB is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.193 H 303.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#6F2AAB
RGBrgb(111, 42, 171)
HSLhsl(272, 61%, 42%)
HSVhsv(272, 75%, 67%)
CMYKcmyk(35.1%, 75.4%, 0%, 32.9%)
CIE-LABlab(33.93, 53.36, -56.29)
CIE-LCHlch(33.93, 77.56, 313.47°)
OKLaboklab(45.45% 0.1075 -0.1604)
OKLCHoklch(45.45% 0.193 303.8)
XYZxyz(14.7325, 7.9757, 39.2835)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2AAB #66AB2A
analogous
#2F2AAB #6F2AAB #AB2AA7
triadic
#6F2AAB #AB6F2A #2AAB6F
tetradic
#6F2AAB #AB2F2A #66AB2A #2AA7AB
square
#6F2AAB #AB2F2A #66AB2A #2AA7AB
split-complementary
#6F2AAB #A7AB2A #2AAB2F
monochromatic
#2F1249 #4F1E7A #6F2AAB #8E42D1 #AB73DD

Accessibility & contrast

On white

8.09
#6F2AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2AAB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2AAB#FFFFFF#000000##FFFFFF
##6F2AAB1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#634A69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2aab;
/* rgb */ color: rgb(111, 42, 171);
/* oklch */ color: oklch(45.4% 0.193 303.8);
Tailwind
colors: {
  custom: {
    50: '#9e6bc5',
    500: '#6f2aab',
    950: '#000000',
  },
}
SCSS
$custom: #6f2aab;
$custom-light: #9e6bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2aab",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 272.093,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45446,
    "c": 0.19304,
    "h": 303.8
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#6F2AAB
secondary
#95C46D
accent
#E4448E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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