#6F2AB2#6F2AB2

#6F2AB2 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.0% C 0.200 H 301.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6F2AB2
RGBrgb(111, 42, 178)
HSLhsl(270, 62%, 43%)
HSVhsv(270, 76%, 70%)
CMYKcmyk(37.6%, 76.4%, 0%, 30.2%)
CIE-LABlab(34.50, 55.02, -59.55)
CIE-LCHlch(34.50, 81.08, 312.74°)
OKLaboklab(46.02% 0.1058 -0.1699)
OKLCHoklch(46.02% 0.2 301.9)
XYZxyz(15.4174, 8.2497, 42.8910)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2AB2 #6DB22A
analogous
#2B2AB2 #6F2AB2 #B22AB1
triadic
#6F2AB2 #B26F2A #2AB26F
tetradic
#6F2AB2 #B22B2A #6DB22A #2AB1B2
square
#6F2AB2 #B22B2A #6DB22A #2AB1B2
split-complementary
#6F2AB2 #B1B22A #2AB22B
monochromatic
#31134F #501E80 #6F2AB2 #8E46D3 #AC77DF

Accessibility & contrast

On white

7.92
#6F2AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6F2AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2AB2
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2AB2#FFFFFF#000000##FFFFFF
##6F2AB21.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#604D6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f2ab2;
/* rgb */ color: rgb(111, 42, 178);
/* oklch */ color: oklch(46.0% 0.200 301.9);
Tailwind
colors: {
  custom: {
    50: '#9e6bca',
    500: '#6f2ab2',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ab2;
$custom-light: #9e6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ab2",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 270.441,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4602,
    "c": 0.20019,
    "h": 301.9
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

primary
#6F2AB2
secondary
#9BC771
accent
#E54393
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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