#6E2BB2#6E2BB2

#6E2BB2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.199 H 301.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6E2BB2
RGBrgb(110, 43, 178)
HSLhsl(270, 61%, 43%)
HSVhsv(270, 76%, 70%)
CMYKcmyk(38.2%, 75.8%, 0%, 30.2%)
CIE-LABlab(34.51, 54.43, -59.53)
CIE-LCHlch(34.51, 80.66, 312.44°)
OKLaboklab(46% 0.1035 -0.1699)
OKLCHoklch(46% 0.199 301.3)
XYZxyz(15.3282, 8.2570, 42.8971)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2BB2 #6FB22B
analogous
#2B2BB2 #6E2BB2 #B12BB2
triadic
#6E2BB2 #B26E2B #2BB26E
tetradic
#6E2BB2 #B22B2B #6FB22B #2BB2B1
square
#6E2BB2 #B22B2B #6FB22B #2BB2B1
split-complementary
#6E2BB2 #B2B12B #2BB22B
monochromatic
#31134F #501F81 #6E2BB2 #8D48D3 #AB79DF

Accessibility & contrast

On white

7.92
#6E2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6E2BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2BB2
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2BB2#FFFFFF#000000##FFFFFF
##6E2BB21.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#5F4E6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e2bb2;
/* rgb */ color: rgb(110, 43, 178);
/* oklch */ color: oklch(46.0% 0.199 301.3);
Tailwind
colors: {
  custom: {
    50: '#9e6bca',
    500: '#6e2bb2',
    950: '#000000',
  },
}
SCSS
$custom: #6e2bb2;
$custom-light: #9e6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2bb2",
  "rgb": {
    "r": 110,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 269.778,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46002,
    "c": 0.19896,
    "h": 301.3
  },
  "luminance": 0.08257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E2BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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