#6F2AA7#6F2AA7

#6F2AA7 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.189 H 305.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#6F2AA7
RGBrgb(111, 42, 167)
HSLhsl(273, 60%, 41%)
HSVhsv(273, 75%, 65%)
CMYKcmyk(33.5%, 74.9%, 0%, 34.5%)
CIE-LABlab(33.62, 52.42, -54.40)
CIE-LCHlch(33.62, 75.55, 313.94°)
OKLaboklab(45.13% 0.1083 -0.1548)
OKLCHoklch(45.13% 0.189 305)
XYZxyz(14.3570, 7.8255, 37.3059)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2AA7 #62A72A
analogous
#302AA7 #6F2AA7 #A72AA0
triadic
#6F2AA7 #A76F2A #2AA76F
tetradic
#6F2AA7 #A7302A #62A72A #2AA0A7
square
#6F2AA7 #A7302A #62A72A #2AA0A7
split-complementary
#6F2AA7 #A0A72A #2AA730
monochromatic
#2E1145 #4E1E76 #6F2AA7 #8F3FCF #AB70DB

Accessibility & contrast

On white

8.19
#6F2AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2AA7
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2AA7#FFFFFF#000000##FFFFFF
##6F2AA71.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#004FA4
Tritanopia (blue-blind)
#644966
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2aa7;
/* rgb */ color: rgb(111, 42, 167);
/* oklch */ color: oklch(45.1% 0.189 305.0);
Tailwind
colors: {
  custom: {
    50: '#9d6bc2',
    500: '#6f2aa7',
    950: '#000000',
  },
}
SCSS
$custom: #6f2aa7;
$custom-light: #9d6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2aa7",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 273.12,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45125,
    "c": 0.18895,
    "h": 305
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#6F2AA7
secondary
#92C26B
accent
#E3458C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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