#6E2CA8#6E2CA8

#6E2CA8 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.187 H 304.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#6E2CA8
RGBrgb(110, 44, 168)
HSLhsl(272, 58%, 42%)
HSVhsv(272, 74%, 66%)
CMYKcmyk(34.5%, 73.8%, 0%, 34.1%)
CIE-LABlab(33.87, 51.60, -54.61)
CIE-LCHlch(33.87, 75.13, 313.38°)
OKLaboklab(45.3% 0.1048 -0.1555)
OKLCHoklch(45.3% 0.187 304)
XYZxyz(14.3973, 7.9436, 37.8130)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2CA8 #66A82C
analogous
#302CA8 #6E2CA8 #A82CA4
triadic
#6E2CA8 #A86E2C #2CA86E
tetradic
#6E2CA8 #A8302C #66A82C #2CA4A8
square
#6E2CA8 #A8302C #66A82C #2CA4A8
split-complementary
#6E2CA8 #A4A82C #2CA830
monochromatic
#2E1347 #4E1F78 #6E2CA8 #8D43CE #AB74DB

Accessibility & contrast

On white

8.11
#6E2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6E2CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2CA8
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2CA8#FFFFFF#000000##FFFFFF
##6E2CA81.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#634A68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e2ca8;
/* rgb */ color: rgb(110, 44, 168);
/* oklch */ color: oklch(45.3% 0.187 304.0);
Tailwind
colors: {
  custom: {
    50: '#9d6cc3',
    500: '#6e2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ca8;
$custom-light: #9d6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ca8",
  "rgb": {
    "r": 110,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 271.935,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45296,
    "c": 0.18748,
    "h": 304
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

primary
#6E2CA8
secondary
#95C26E
accent
#E2468F
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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