#6E2DA9#6E2DA9

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

Color values

HEX#6E2DA9
RGBrgb(110, 45, 169)
HSLhsl(271, 58%, 42%)
HSVhsv(271, 73%, 66%)
CMYKcmyk(34.9%, 73.4%, 0%, 33.7%)
CIE-LABlab(34.10, 51.39, -54.82)
CIE-LCHlch(34.10, 75.15, 313.15°)
OKLaboklab(45.49% 0.1036 -0.1561)
OKLCHoklch(45.49% 0.187 303.6)
XYZxyz(14.5286, 8.0564, 38.3181)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2DA9 #68A92D
analogous
#302DA9 #6E2DA9 #A92DA6
triadic
#6E2DA9 #A96E2D #2DA96E
tetradic
#6E2DA9 #A9302D #68A92D #2DA6A9
square
#6E2DA9 #A9302D #68A92D #2DA6A9
split-complementary
#6E2DA9 #A6A92D #2DA930
monochromatic
#2F1348 #4F2079 #6E2DA9 #8D46CE #AB76DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E2DA9#FFFFFF#000000##FFFFFF
##6E2DA91.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)
#004FAD
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#624B68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e2da9;
/* rgb */ color: rgb(110, 45, 169);
/* oklch */ color: oklch(45.5% 0.187 303.6);
Tailwind
colors: {
  custom: {
    50: '#9d6cc3',
    500: '#6e2da9',
    950: '#000000',
  },
}
SCSS
$custom: #6e2da9;
$custom-light: #9d6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2da9",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 271.452,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45487,
    "c": 0.18736,
    "h": 303.6
  },
  "luminance": 0.08056
}

Semantic roles & 50–950 ramp

primary
#6E2DA9
secondary
#97C26F
accent
#E14790
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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