#6F2AAA#6F2AAA

#6F2AAA is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.192 H 304.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#6F2AAA
RGBrgb(111, 42, 170)
HSLhsl(272, 60%, 42%)
HSVhsv(272, 75%, 67%)
CMYKcmyk(34.7%, 75.3%, 0%, 33.3%)
CIE-LABlab(33.85, 53.12, -55.82)
CIE-LCHlch(33.85, 77.06, 313.58°)
OKLaboklab(45.37% 0.1077 -0.159)
OKLCHoklch(45.37% 0.192 304.1)
XYZxyz(14.6375, 7.9378, 38.7834)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2AAA #65AA2A
analogous
#2F2AAA #6F2AAA #AA2AA5
triadic
#6F2AAA #AA6F2A #2AAA6F
tetradic
#6F2AAA #AA2F2A #65AA2A #2AA5AA
square
#6F2AAA #AA2F2A #65AA2A #2AA5AA
split-complementary
#6F2AAA #A5AA2A #2AAA2F
monochromatic
#2F1248 #4F1E79 #6F2AAA #8E41D0 #AB72DC

Accessibility & contrast

On white

8.12
#6F2AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6F2AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2AAA
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2AAA#FFFFFF#000000##FFFFFF
##6F2AAA1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#634A68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2aaa;
/* rgb */ color: rgb(111, 42, 170);
/* oklch */ color: oklch(45.4% 0.192 304.1);
Tailwind
colors: {
  custom: {
    50: '#9e6bc4',
    500: '#6f2aaa',
    950: '#000000',
  },
}
SCSS
$custom: #6f2aaa;
$custom-light: #9e6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2aaa",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 272.344,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45366,
    "c": 0.19201,
    "h": 304.1
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F2AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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