#6F2AB6#6F2AB6

#6F2AB6 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.204 H 300.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#6F2AB6
RGBrgb(111, 42, 182)
HSLhsl(270, 63%, 44%)
HSVhsv(270, 77%, 71%)
CMYKcmyk(39%, 76.9%, 0%, 28.6%)
CIE-LABlab(34.83, 55.98, -61.38)
CIE-LCHlch(34.83, 83.08, 312.36°)
OKLaboklab(46.35% 0.1048 -0.1753)
OKLCHoklch(46.35% 0.204 300.9)
XYZxyz(15.8249, 8.4127, 45.0370)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2AB6 #71B62A
analogous
#2A2BB6 #6F2AB6 #B52AB6
triadic
#6F2AB6 #B66F2A #2AB66F
tetradic
#6F2AB6 #B62A2B #71B62A #2AB6B5
square
#6F2AB6 #B62A2B #71B62A #2AB6B5
split-complementary
#6F2AB6 #B6B52A #2BB62A
monochromatic
#321353 #511F84 #6F2AB6 #8E48D5 #AC7AE0

Accessibility & contrast

On white

7.83
#6F2AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6F2AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2AB6
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2AB6#FFFFFF#000000##FFFFFF
##6F2AB61.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#5F4F6F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f2ab6;
/* rgb */ color: rgb(111, 42, 182);
/* oklch */ color: oklch(46.4% 0.204 300.9);
Tailwind
colors: {
  custom: {
    50: '#9f6bcd',
    500: '#6f2ab6',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ab6;
$custom-light: #9f6bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ab6",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 269.571,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46354,
    "c": 0.20428,
    "h": 300.9
  },
  "luminance": 0.08413
}

Semantic roles & 50–950 ramp

primary
#6F2AB6
secondary
#9FC873
accent
#E64295
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6F2AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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