#6E2AB3#6E2AB3

#6E2AB3 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.0% C 0.201 H 301.2°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#6E2AB3
RGBrgb(110, 42, 179)
HSLhsl(270, 62%, 43%)
HSVhsv(270, 77%, 70%)
CMYKcmyk(38.5%, 76.5%, 0%, 29.8%)
CIE-LABlab(34.45, 55.09, -60.23)
CIE-LCHlch(34.45, 81.62, 312.45°)
OKLaboklab(45.98% 0.1041 -0.172)
OKLCHoklch(45.98% 0.201 301.2)
XYZxyz(15.3931, 8.2255, 43.4158)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2AB3 #6FB32A
analogous
#2A2AB3 #6E2AB3 #B22AB3
triadic
#6E2AB3 #B36E2A #2AB36E
tetradic
#6E2AB3 #B32A2A #6FB32A #2AB3B2
square
#6E2AB3 #B32A2A #6FB32A #2AB3B2
split-complementary
#6E2AB3 #B3B22A #2AB32A
monochromatic
#311350 #501E81 #6E2AB3 #8D46D4 #AB78DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E2AB3#FFFFFF#000000##FFFFFF
##6E2AB31.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2ab3;
/* rgb */ color: rgb(110, 42, 179);
/* oklch */ color: oklch(46.0% 0.201 301.2);
Tailwind
colors: {
  custom: {
    50: '#9e6bcb',
    500: '#6e2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ab3;
$custom-light: #9e6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ab3",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 269.781,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45982,
    "c": 0.20104,
    "h": 301.2
  },
  "luminance": 0.08226
}

Semantic roles & 50–950 ramp

primary
#6E2AB3
secondary
#9DC772
accent
#E54394
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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