#6E2DA7#6E2DA7

#6E2DA7 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.185 H 304.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#6E2DA7
RGBrgb(110, 45, 167)
HSLhsl(272, 58%, 42%)
HSVhsv(272, 73%, 65%)
CMYKcmyk(34.1%, 73.1%, 0%, 34.5%)
CIE-LABlab(33.95, 50.91, -53.88)
CIE-LCHlch(33.95, 74.13, 313.38°)
OKLaboklab(45.33% 0.104 -0.1533)
OKLCHoklch(45.33% 0.185 304.1)
XYZxyz(14.3422, 7.9818, 37.3368)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2DA7 #66A72D
analogous
#312DA7 #6E2DA7 #A72DA3
triadic
#6E2DA7 #A76E2D #2DA76E
tetradic
#6E2DA7 #A7312D #66A72D #2DA3A7
square
#6E2DA7 #A7312D #66A72D #2DA3A7
split-complementary
#6E2DA7 #A3A72D #2DA731
monochromatic
#2E1347 #4E2077 #6E2DA7 #8D44CD #AB75DA

Accessibility & contrast

On white

8.09
#6E2DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6E2DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2DA7
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2DA7#FFFFFF#000000##FFFFFF
##6E2DA71.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#634A67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e2da7;
/* rgb */ color: rgb(110, 45, 167);
/* oklch */ color: oklch(45.3% 0.185 304.1);
Tailwind
colors: {
  custom: {
    50: '#9d6cc2',
    500: '#6e2da7',
    950: '#000000',
  },
}
SCSS
$custom: #6e2da7;
$custom-light: #9d6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2da7",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 271.967,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45328,
    "c": 0.18525,
    "h": 304.1
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#6E2DA7
secondary
#95C16E
accent
#E1478F
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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