#6E2BAB#6E2BAB

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

Color values

HEX#6E2BAB
RGBrgb(110, 43, 171)
HSLhsl(271, 60%, 42%)
HSVhsv(271, 75%, 67%)
CMYKcmyk(35.7%, 74.9%, 0%, 32.9%)
CIE-LABlab(33.95, 52.75, -56.27)
CIE-LCHlch(33.95, 77.13, 313.15°)
OKLaboklab(45.43% 0.1051 -0.1603)
OKLCHoklch(45.43% 0.192 303.2)
XYZxyz(14.6432, 7.9830, 39.2896)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2BAB #68AB2B
analogous
#2E2BAB #6E2BAB #AB2BA8
triadic
#6E2BAB #AB6E2B #2BAB6E
tetradic
#6E2BAB #AB2E2B #68AB2B #2BA8AB
square
#6E2BAB #AB2E2B #68AB2B #2BA8AB
split-complementary
#6E2BAB #A8AB2B #2BAB2E
monochromatic
#2F1249 #4F1F7A #6E2BAB #8D43D0 #AB74DC

Accessibility & contrast

On white

8.09
#6E2BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6E2BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2BAB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2BAB#FFFFFF#000000##FFFFFF
##6E2BAB1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2bab;
/* rgb */ color: rgb(110, 43, 171);
/* oklch */ color: oklch(45.4% 0.192 303.2);
Tailwind
colors: {
  custom: {
    50: '#9d6bc5',
    500: '#6e2bab',
    950: '#000000',
  },
}
SCSS
$custom: #6e2bab;
$custom-light: #9d6bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2bab",
  "rgb": {
    "r": 110,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 271.406,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45428,
    "c": 0.19172,
    "h": 303.2
  },
  "luminance": 0.07983
}

Semantic roles & 50–950 ramp

primary
#6E2BAB
secondary
#97C46E
accent
#E34590
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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