#6E2AB8#6E2AB8

#6E2AB8 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.206 H 299.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#6E2AB8
RGBrgb(110, 42, 184)
HSLhsl(269, 63%, 44%)
HSVhsv(269, 77%, 72%)
CMYKcmyk(40.2%, 77.2%, 0%, 27.8%)
CIE-LABlab(34.87, 56.30, -62.51)
CIE-LCHlch(34.87, 84.12, 312.01°)
OKLaboklab(46.4% 0.1029 -0.1787)
OKLCHoklch(46.4% 0.206 299.9)
XYZxyz(15.9079, 8.4314, 46.1274)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2AB8 #74B82A
analogous
#2A2DB8 #6E2AB8 #B52AB8
triadic
#6E2AB8 #B86E2A #2AB86E
tetradic
#6E2AB8 #B82A2D #74B82A #2AB8B5
square
#6E2AB8 #B82A2D #74B82A #2AB8B5
split-complementary
#6E2AB8 #B8B52A #2DB82A
monochromatic
#321354 #501F86 #6E2AB8 #8D4AD6 #AC7BE1

Accessibility & contrast

On white

7.82
#6E2AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6E2AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2AB8
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2AB8#FFFFFF#000000##FFFFFF
##6E2AB81.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#5D5070
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6e2ab8;
/* rgb */ color: rgb(110, 42, 184);
/* oklch */ color: oklch(46.4% 0.206 299.9);
Tailwind
colors: {
  custom: {
    50: '#9e6bce',
    500: '#6e2ab8',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ab8;
$custom-light: #9e6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ab8",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 268.732,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46404,
    "c": 0.20617,
    "h": 299.9
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#6E2AB8
secondary
#A1C975
accent
#E64297
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6E2AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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