#6E2BA8#6E2BA8

#6E2BA8 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.189 H 304.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#6E2BA8
RGBrgb(110, 43, 168)
HSLhsl(272, 59%, 41%)
HSVhsv(272, 74%, 66%)
CMYKcmyk(34.5%, 74.4%, 0%, 34.1%)
CIE-LABlab(33.71, 52.04, -54.86)
CIE-LCHlch(33.71, 75.61, 313.49°)
OKLaboklab(45.19% 0.1057 -0.1562)
OKLCHoklch(45.19% 0.189 304.1)
XYZxyz(14.3605, 7.8699, 37.8007)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2BA8 #65A82B
analogous
#302BA8 #6E2BA8 #A82BA4
triadic
#6E2BA8 #A86E2B #2BA86E
tetradic
#6E2BA8 #A8302B #65A82B #2BA4A8
square
#6E2BA8 #A8302B #65A82B #2BA4A8
split-complementary
#6E2BA8 #A4A82B #2BA830
monochromatic
#2E1247 #4E1F77 #6E2BA8 #8D42CF #AA72DB

Accessibility & contrast

On white

8.16
#6E2BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6E2BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2BA8
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2BA8#FFFFFF#000000##FFFFFF
##6E2BA81.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#634A67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e2ba8;
/* rgb */ color: rgb(110, 43, 168);
/* oklch */ color: oklch(45.2% 0.189 304.1);
Tailwind
colors: {
  custom: {
    50: '#9d6bc3',
    500: '#6e2ba8',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ba8;
$custom-light: #9d6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ba8",
  "rgb": {
    "r": 110,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 272.16,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45187,
    "c": 0.18862,
    "h": 304.1
  },
  "luminance": 0.0787
}

Semantic roles & 50–950 ramp

primary
#6E2BA8
secondary
#94C26C
accent
#E2458E
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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