#6E2CAB#6E2CAB

#6E2CAB is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.191 H 303.1°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#6E2CAB
RGBrgb(110, 44, 171)
HSLhsl(271, 59%, 42%)
HSVhsv(271, 74%, 67%)
CMYKcmyk(35.7%, 74.3%, 0%, 32.9%)
CIE-LABlab(34.10, 52.32, -56.02)
CIE-LCHlch(34.10, 76.65, 313.04°)
OKLaboklab(45.54% 0.1042 -0.1596)
OKLCHoklch(45.54% 0.191 303.1)
XYZxyz(14.6800, 8.0566, 39.3019)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2CAB #69AB2C
analogous
#2E2CAB #6E2CAB #AB2CA9
triadic
#6E2CAB #AB6E2C #2CAB6E
tetradic
#6E2CAB #AB2E2C #69AB2C #2CA9AB
square
#6E2CAB #AB2E2C #69AB2C #2CA9AB
split-complementary
#6E2CAB #A9AB2C #2CAB2E
monochromatic
#2F134A #4F1F7A #6E2CAB #8D45CF #AB76DC

Accessibility & contrast

On white

8.04
#6E2CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6E2CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2CAB
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2CAB#FFFFFF#000000##FFFFFF
##6E2CAB1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#624C69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e2cab;
/* rgb */ color: rgb(110, 44, 171);
/* oklch */ color: oklch(45.5% 0.191 303.1);
Tailwind
colors: {
  custom: {
    50: '#9d6cc5',
    500: '#6e2cab',
    950: '#000000',
  },
}
SCSS
$custom: #6e2cab;
$custom-light: #9d6cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2cab",
  "rgb": {
    "r": 110,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 271.181,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45536,
    "c": 0.19061,
    "h": 303.1
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#6E2CAB
secondary
#98C36F
accent
#E24691
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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