#6F2BB1#6F2BB1

#6F2BB1 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.198 H 302.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#6F2BB1
RGBrgb(111, 43, 177)
HSLhsl(270, 61%, 43%)
HSVhsv(270, 76%, 69%)
CMYKcmyk(37.3%, 75.7%, 0%, 30.6%)
CIE-LABlab(34.56, 54.37, -58.84)
CIE-LCHlch(34.56, 80.11, 312.73°)
OKLaboklab(46.04% 0.1052 -0.1679)
OKLCHoklch(46.04% 0.198 302.1)
XYZxyz(15.3533, 8.2815, 42.3761)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2BB1 #6DB12B
analogous
#2C2BB1 #6F2BB1 #B12BB0
triadic
#6F2BB1 #B16F2B #2BB16F
tetradic
#6F2BB1 #B12C2B #6DB12B #2BB0B1
square
#6F2BB1 #B12C2B #6DB12B #2BB0B1
split-complementary
#6F2BB1 #B0B12B #2BB12C
monochromatic
#31134F #501F80 #6F2BB1 #8E47D2 #AC78DE

Accessibility & contrast

On white

7.91
#6F2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2BB1
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2BB1#FFFFFF#000000##FFFFFF
##6F2BB11.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#614D6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f2bb1;
/* rgb */ color: rgb(111, 43, 177);
/* oklch */ color: oklch(46.0% 0.198 302.1);
Tailwind
colors: {
  custom: {
    50: '#9e6cc9',
    500: '#6f2bb1',
    950: '#000000',
  },
}
SCSS
$custom: #6f2bb1;
$custom-light: #9e6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2bb1",
  "rgb": {
    "r": 111,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 270.448,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4604,
    "c": 0.19811,
    "h": 302.1
  },
  "luminance": 0.08282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F2BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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