#6F2AAF#6F2AAF

#6F2AAF is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.197 H 302.7°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6F2AAF
RGBrgb(111, 42, 175)
HSLhsl(271, 61%, 43%)
HSVhsv(271, 76%, 69%)
CMYKcmyk(36.6%, 76%, 0%, 31.4%)
CIE-LABlab(34.25, 54.31, -58.16)
CIE-LCHlch(34.25, 79.57, 313.04°)
OKLaboklab(45.77% 0.1066 -0.1658)
OKLCHoklch(45.77% 0.197 302.7)
XYZxyz(15.1195, 8.1306, 41.3219)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2AAF #6AAF2A
analogous
#2D2AAF #6F2AAF #AF2AAC
triadic
#6F2AAF #AF6F2A #2AAF6F
tetradic
#6F2AAF #AF2D2A #6AAF2A #2AACAF
square
#6F2AAF #AF2D2A #6AAF2A #2AACAF
split-complementary
#6F2AAF #ACAF2A #2AAF2D
monochromatic
#30124C #501E7E #6F2AAF #8E44D2 #AC75DE

Accessibility & contrast

On white

8.00
#6F2AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6F2AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2AAF
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2AAF#FFFFFF#000000##FFFFFF
##6F2AAF1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#624C6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f2aaf;
/* rgb */ color: rgb(111, 42, 175);
/* oklch */ color: oklch(45.8% 0.197 302.7);
Tailwind
colors: {
  custom: {
    50: '#9e6bc8',
    500: '#6f2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #6f2aaf;
$custom-light: #9e6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2aaf",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 271.128,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45772,
    "c": 0.19713,
    "h": 302.7
  },
  "luminance": 0.08131
}

Semantic roles & 50–950 ramp

primary
#6F2AAF
secondary
#99C66F
accent
#E44391
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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