#6E2BB1#6E2BB1

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

Color values

HEX#6E2BB1
RGBrgb(110, 43, 177)
HSLhsl(270, 61%, 43%)
HSVhsv(270, 76%, 69%)
CMYKcmyk(37.9%, 75.7%, 0%, 30.6%)
CIE-LABlab(34.43, 54.19, -59.07)
CIE-LCHlch(34.43, 80.16, 312.54°)
OKLaboklab(45.92% 0.1037 -0.1686)
OKLCHoklch(45.92% 0.198 301.6)
XYZxyz(15.2282, 8.2170, 42.3702)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2BB1 #6EB12B
analogous
#2B2BB1 #6E2BB1 #B12BB1
triadic
#6E2BB1 #B16E2B #2BB16E
tetradic
#6E2BB1 #B12B2B #6EB12B #2BB1B1
square
#6E2BB1 #B12B2B #6EB12B #2BB1B1
split-complementary
#6E2BB1 #B1B12B #2BB12B
monochromatic
#31134F #4F1F80 #6E2BB1 #8D47D2 #AB78DE

Accessibility & contrast

On white

7.94
#6E2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2BB1
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2BB1#FFFFFF#000000##FFFFFF
##6E2BB11.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2bb1;
/* rgb */ color: rgb(110, 43, 177);
/* oklch */ color: oklch(45.9% 0.198 301.6);
Tailwind
colors: {
  custom: {
    50: '#9e6bc9',
    500: '#6e2bb1',
    950: '#000000',
  },
}
SCSS
$custom: #6e2bb1;
$custom-light: #9e6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2bb1",
  "rgb": {
    "r": 110,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 270,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45919,
    "c": 0.19793,
    "h": 301.6
  },
  "luminance": 0.08217
}

Semantic roles & 50–950 ramp

primary
#6E2BB1
secondary
#9CC672
accent
#E44494
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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