#6F2BB2#6F2BB2

#6F2BB2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.1% C 0.199 H 301.8°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6F2BB2
RGBrgb(111, 43, 178)
HSLhsl(270, 61%, 43%)
HSVhsv(270, 76%, 70%)
CMYKcmyk(37.6%, 75.8%, 0%, 30.2%)
CIE-LABlab(34.64, 54.61, -59.31)
CIE-LCHlch(34.64, 80.62, 312.64°)
OKLaboklab(46.12% 0.105 -0.1692)
OKLCHoklch(46.12% 0.199 301.8)
XYZxyz(15.4534, 8.3215, 42.9029)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2BB2 #6EB22B
analogous
#2B2BB2 #6F2BB2 #B22BB1
triadic
#6F2BB2 #B26F2B #2BB26F
tetradic
#6F2BB2 #B22B2B #6EB22B #2BB1B2
square
#6F2BB2 #B22B2B #6EB22B #2BB1B2
split-complementary
#6F2BB2 #B1B22B #2BB22B
monochromatic
#32134F #501F81 #6F2BB2 #8E48D3 #AC79DF

Accessibility & contrast

On white

7.88
#6F2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6F2BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2BB2
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2BB2#FFFFFF#000000##FFFFFF
##6F2BB21.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f2bb2;
/* rgb */ color: rgb(111, 43, 178);
/* oklch */ color: oklch(46.1% 0.199 301.8);
Tailwind
colors: {
  custom: {
    50: '#9e6cca',
    500: '#6f2bb2',
    950: '#000000',
  },
}
SCSS
$custom: #6f2bb2;
$custom-light: #9e6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2bb2",
  "rgb": {
    "r": 111,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 270.222,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46122,
    "c": 0.19914,
    "h": 301.8
  },
  "luminance": 0.08322
}

Semantic roles & 50–950 ramp

primary
#6F2BB2
secondary
#9CC772
accent
#E44493
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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