#6F2BAB#6F2BAB

#6F2BAB is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.6% C 0.192 H 303.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#6F2BAB
RGBrgb(111, 43, 171)
HSLhsl(272, 60%, 42%)
HSVhsv(272, 75%, 67%)
CMYKcmyk(35.1%, 74.9%, 0%, 32.9%)
CIE-LABlab(34.08, 52.93, -56.05)
CIE-LCHlch(34.08, 77.09, 313.36°)
OKLaboklab(45.55% 0.1065 -0.1597)
OKLCHoklch(45.55% 0.192 303.7)
XYZxyz(14.7684, 8.0476, 39.2955)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2BAB #67AB2B
analogous
#2F2BAB #6F2BAB #AB2BA7
triadic
#6F2BAB #AB6F2B #2BAB6F
tetradic
#6F2BAB #AB2F2B #67AB2B #2BA7AB
square
#6F2BAB #AB2F2B #67AB2B #2BA7AB
split-complementary
#6F2BAB #A7AB2B #2BAB2F
monochromatic
#301249 #4F1F7A #6F2BAB #8E43D0 #AB74DC

Accessibility & contrast

On white

8.05
#6F2BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6F2BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2BAB
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2BAB#FFFFFF#000000##FFFFFF
##6F2BAB1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#634B69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2bab;
/* rgb */ color: rgb(111, 43, 171);
/* oklch */ color: oklch(45.6% 0.192 303.7);
Tailwind
colors: {
  custom: {
    50: '#9e6bc5',
    500: '#6f2bab',
    950: '#000000',
  },
}
SCSS
$custom: #6f2bab;
$custom-light: #9e6bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2bab",
  "rgb": {
    "r": 111,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 271.875,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45552,
    "c": 0.19194,
    "h": 303.7
  },
  "luminance": 0.08048
}

Semantic roles & 50–950 ramp

primary
#6F2BAB
secondary
#96C46E
accent
#E3458F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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