#6E2EA3#6E2EA3

#6E2EA3 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.180 H 305.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#6E2EA3
RGBrgb(110, 46, 163)
HSLhsl(273, 56%, 41%)
HSVhsv(273, 72%, 64%)
CMYKcmyk(32.5%, 71.8%, 0%, 36.1%)
CIE-LABlab(33.80, 49.50, -51.70)
CIE-LCHlch(33.80, 71.58, 313.75°)
OKLaboklab(45.13% 0.1037 -0.1469)
OKLCHoklch(45.13% 0.18 305.2)
XYZxyz(14.0168, 7.9134, 35.4322)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2EA3 #63A32E
analogous
#342EA3 #6E2EA3 #A32E9D
triadic
#6E2EA3 #A36E2E #2EA36E
tetradic
#6E2EA3 #A3342E #63A32E #2E9DA3
square
#6E2EA3 #A3342E #63A32E #2E9DA3
split-complementary
#6E2EA3 #9DA32E #2EA334
monochromatic
#2E1344 #4E2173 #6E2EA3 #8D44CA #AA74D8

Accessibility & contrast

On white

8.13
#6E2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6E2EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2EA3
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2EA3#FFFFFF#000000##FFFFFF
##6E2EA31.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#644965
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e2ea3;
/* rgb */ color: rgb(110, 46, 163);
/* oklch */ color: oklch(45.1% 0.180 305.2);
Tailwind
colors: {
  custom: {
    50: '#9c6cbf',
    500: '#6e2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ea3;
$custom-light: #9c6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ea3",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 272.821,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45131,
    "c": 0.17982,
    "h": 305.2
  },
  "luminance": 0.07913
}

Semantic roles & 50–950 ramp

primary
#6E2EA3
secondary
#93BF6D
accent
#DF498D
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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