#6F2AB1#6F2AB1

#6F2AB1 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.199 H 302.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#6F2AB1
RGBrgb(111, 42, 177)
HSLhsl(271, 62%, 43%)
HSVhsv(271, 76%, 69%)
CMYKcmyk(37.3%, 76.3%, 0%, 30.6%)
CIE-LABlab(34.42, 54.78, -59.08)
CIE-LCHlch(34.42, 80.57, 312.84°)
OKLaboklab(45.94% 0.1061 -0.1686)
OKLCHoklch(45.94% 0.199 302.2)
XYZxyz(15.3174, 8.2097, 42.3641)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2AB1 #6CB12A
analogous
#2C2AB1 #6F2AB1 #B12AAF
triadic
#6F2AB1 #B16F2A #2AB16F
tetradic
#6F2AB1 #B12C2A #6CB12A #2AAFB1
square
#6F2AB1 #B12C2A #6CB12A #2AAFB1
split-complementary
#6F2AB1 #AFB12A #2AB12C
monochromatic
#31134E #501E80 #6F2AB1 #8E45D3 #AC77DF

Accessibility & contrast

On white

7.95
#6F2AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6F2AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2AB1
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2AB1#FFFFFF#000000##FFFFFF
##6F2AB11.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f2ab1;
/* rgb */ color: rgb(111, 42, 177);
/* oklch */ color: oklch(45.9% 0.199 302.2);
Tailwind
colors: {
  custom: {
    50: '#9e6bc9',
    500: '#6f2ab1',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ab1;
$custom-light: #9e6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ab1",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 270.667,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45937,
    "c": 0.19917,
    "h": 302.2
  },
  "luminance": 0.0821
}

Semantic roles & 50–950 ramp

primary
#6F2AB1
secondary
#9AC670
accent
#E54392
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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