#6E2DCA#6E2DCA

#6E2DCA is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.222 H 295.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6E2DCA
RGBrgb(110, 45, 202)
HSLhsl(265, 64%, 48%)
HSVhsv(265, 78%, 79%)
CMYKcmyk(45.5%, 77.7%, 0%, 20.8%)
CIE-LABlab(36.85, 59.48, -69.83)
CIE-LCHlch(36.85, 91.73, 310.43°)
OKLaboklab(48.27% 0.0955 -0.2002)
OKLCHoklch(48.27% 0.222 295.5)
XYZxyz(18.0266, 9.4556, 56.7410)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2DCA #89CA2D
analogous
#2D3ACA #6E2DCA #BC2DCA
triadic
#6E2DCA #CA6E2D #2DCA6E
tetradic
#6E2DCA #CA2D3A #89CA2D #2DCABC
square
#6E2DCA #CA2D3A #89CA2D #2DCABC
split-complementary
#6E2DCA #CABC2D #3ACA2D
monochromatic
#371766 #532298 #6E2DCA #8F5ADA #B18CE5

Accessibility & contrast

On white

7.26
#6E2DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6E2DCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2DCA
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2DCA#FFFFFF#000000##FFFFFF
##6E2DCA1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#54597B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6e2dca;
/* rgb */ color: rgb(110, 45, 202);
/* oklch */ color: oklch(48.3% 0.222 295.5);
Tailwind
colors: {
  custom: {
    50: '#a06edb',
    500: '#6e2dca',
    950: '#000000',
  },
}
SCSS
$custom: #6e2dca;
$custom-light: #a06edb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2dca",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 264.841,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48265,
    "c": 0.22179,
    "h": 295.5
  },
  "luminance": 0.09456
}

Semantic roles & 50–950 ramp

primary
#6E2DCA
secondary
#B0CF83
accent
#E741A2
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6E2DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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