#6F2BAE#6F2BAE

#6F2BAE is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.195 H 302.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#6F2BAE
RGBrgb(111, 43, 174)
HSLhsl(271, 60%, 43%)
HSVhsv(271, 75%, 68%)
CMYKcmyk(36.2%, 75.3%, 0%, 31.8%)
CIE-LABlab(34.32, 53.65, -57.45)
CIE-LCHlch(34.32, 78.60, 313.04°)
OKLaboklab(45.79% 0.1059 -0.1638)
OKLCHoklch(45.79% 0.195 302.9)
XYZxyz(15.0576, 8.1632, 40.8186)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2BAE #6AAE2B
analogous
#2D2BAE #6F2BAE #AE2BAC
triadic
#6F2BAE #AE6F2B #2BAE6F
tetradic
#6F2BAE #AE2D2B #6AAE2B #2BACAE
square
#6F2BAE #AE2D2B #6AAE2B #2BACAE
split-complementary
#6F2BAE #ACAE2B #2BAE2D
monochromatic
#30134C #501F7D #6F2BAE #8E45D1 #AC76DD

Accessibility & contrast

On white

7.98
#6F2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6F2BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2BAE
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2BAE#FFFFFF#000000##FFFFFF
##6F2BAE1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#624C6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f2bae;
/* rgb */ color: rgb(111, 43, 174);
/* oklch */ color: oklch(45.8% 0.195 302.9);
Tailwind
colors: {
  custom: {
    50: '#9e6bc7',
    500: '#6f2bae',
    950: '#000000',
  },
}
SCSS
$custom: #6f2bae;
$custom-light: #9e6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2bae",
  "rgb": {
    "r": 111,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 271.145,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45794,
    "c": 0.19503,
    "h": 302.9
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#6F2BAE
secondary
#99C570
accent
#E44491
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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