#6E2AB1#6E2AB1

#6E2AB1 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.199 H 301.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#6E2AB1
RGBrgb(110, 42, 177)
HSLhsl(270, 62%, 43%)
HSVhsv(270, 76%, 69%)
CMYKcmyk(37.9%, 76.3%, 0%, 30.6%)
CIE-LABlab(34.28, 54.61, -59.31)
CIE-LCHlch(34.28, 80.62, 312.64°)
OKLaboklab(45.82% 0.1046 -0.1693)
OKLCHoklch(45.82% 0.199 301.7)
XYZxyz(15.1923, 8.1452, 42.3582)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2AB1 #6DB12A
analogous
#2A2AB1 #6E2AB1 #B12AB0
triadic
#6E2AB1 #B16E2A #2AB16E
tetradic
#6E2AB1 #B12A2A #6DB12A #2AB0B1
square
#6E2AB1 #B12A2A #6DB12A #2AB0B1
split-complementary
#6E2AB1 #B0B12A #2AB12A
monochromatic
#31134E #4F1E80 #6E2AB1 #8D45D3 #AB77DF

Accessibility & contrast

On white

7.99
#6E2AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6E2AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2AB1
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2AB1#FFFFFF#000000##FFFFFF
##6E2AB11.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.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: #6e2ab1;
/* rgb */ color: rgb(110, 42, 177);
/* oklch */ color: oklch(45.8% 0.199 301.7);
Tailwind
colors: {
  custom: {
    50: '#9e6bc9',
    500: '#6e2ab1',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ab1;
$custom-light: #9e6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ab1",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 270.222,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45815,
    "c": 0.19899,
    "h": 301.7
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#6E2AB1
secondary
#9BC670
accent
#E54393
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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