#6F2AA2#6F2AA2

#6F2AA2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.184 H 306.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6F2AA2
RGBrgb(111, 42, 162)
HSLhsl(275, 59%, 40%)
HSVhsv(275, 74%, 64%)
CMYKcmyk(31.5%, 74.1%, 0%, 36.5%)
CIE-LABlab(33.23, 51.25, -52.02)
CIE-LCHlch(33.23, 73.02, 314.57°)
OKLaboklab(44.73% 0.1093 -0.1478)
OKLCHoklch(44.73% 0.184 306.5)
XYZxyz(13.9037, 7.6442, 34.9184)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2AA2 #5DA22A
analogous
#332AA2 #6F2AA2 #A22A99
triadic
#6F2AA2 #A26F2A #2AA26F
tetradic
#6F2AA2 #A2332A #5DA22A #2A99A2
square
#6F2AA2 #A2332A #5DA22A #2A99A2
split-complementary
#6F2AA2 #99A22A #2AA233
monochromatic
#2C1141 #4E1D71 #6F2AA2 #8F3DCD #AB6DD9

Accessibility & contrast

On white

8.30
#6F2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6F2AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2AA2
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2AA2#FFFFFF#000000##FFFFFF
##6F2AA21.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#664764
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f2aa2;
/* rgb */ color: rgb(111, 42, 162);
/* oklch */ color: oklch(44.7% 0.184 306.5);
Tailwind
colors: {
  custom: {
    50: '#9d6abe',
    500: '#6f2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #6f2aa2;
$custom-light: #9d6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2aa2",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 274.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.44731,
    "c": 0.18383,
    "h": 306.5
  },
  "luminance": 0.07644
}

Semantic roles & 50–950 ramp

primary
#6F2AA2
secondary
#8DC068
accent
#E24688
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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