#6F2AA5#6F2AA5

#6F2AA5 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.187 H 305.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#6F2AA5
RGBrgb(111, 42, 165)
HSLhsl(274, 59%, 41%)
HSVhsv(274, 75%, 65%)
CMYKcmyk(32.7%, 74.5%, 0%, 35.3%)
CIE-LABlab(33.46, 51.95, -53.45)
CIE-LCHlch(33.46, 74.54, 314.18°)
OKLaboklab(44.97% 0.1087 -0.152)
OKLCHoklch(44.97% 0.187 305.6)
XYZxyz(14.1735, 7.7522, 36.3396)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2AA5 #60A52A
analogous
#322AA5 #6F2AA5 #A52A9D
triadic
#6F2AA5 #A56F2A #2AA56F
tetradic
#6F2AA5 #A5322A #60A52A #2A9DA5
square
#6F2AA5 #A5322A #60A52A #2A9DA5
split-complementary
#6F2AA5 #9DA52A #2AA532
monochromatic
#2D1143 #4E1E74 #6F2AA5 #8F3ECE #AB6FDA

Accessibility & contrast

On white

8.23
#6F2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6F2AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2AA5
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2AA5#FFFFFF#000000##FFFFFF
##6F2AA51.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#654865
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2aa5;
/* rgb */ color: rgb(111, 42, 165);
/* oklch */ color: oklch(45.0% 0.187 305.6);
Tailwind
colors: {
  custom: {
    50: '#9d6ac1',
    500: '#6f2aa5',
    950: '#000000',
  },
}
SCSS
$custom: #6f2aa5;
$custom-light: #9d6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2aa5",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 273.659,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44967,
    "c": 0.1869,
    "h": 305.6
  },
  "luminance": 0.07752
}

Semantic roles & 50–950 ramp

primary
#6F2AA5
secondary
#90C169
accent
#E3458A
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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