#6E45E1#6E45E1

#6E45E1 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.0% C 0.222 H 288.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6E45E1
RGBrgb(110, 69, 225)
HSLhsl(256, 72%, 58%)
HSVhsv(256, 69%, 88%)
CMYKcmyk(51.1%, 69.3%, 0%, 11.8%)
CIE-LABlab(42.77, 54.34, -73.36)
CIE-LCHlch(42.77, 91.29, 306.53°)
OKLaboklab(53.05% 0.0704 -0.2107)
OKLCHoklch(53.05% 0.222 288.5)
XYZxyz(22.1452, 13.0065, 72.5632)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E45E1 #B8E145
analogous
#456AE1 #6E45E1 #BC45E1
triadic
#6E45E1 #E16E45 #45E16E
tetradic
#6E45E1 #E1456A #B8E145 #45E1BC
square
#6E45E1 #E1456A #B8E145 #45E1BC
split-complementary
#6E45E1 #E1BC45 #6AE145
monochromatic
#381894 #4D20C8 #6E45E1 #977AE9 #C0AEF2

Accessibility & contrast

On white

5.83
#6E45E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6E45E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E45E1
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E45E1#FFFFFF#000000##FFFFFF
##6E45E11.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E6
Deuteranopia (green-blind)
#0061DE
Tritanopia (blue-blind)
#436D8E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6e45e1;
/* rgb */ color: rgb(110, 69, 225);
/* oklch */ color: oklch(53.0% 0.222 288.5);
Tailwind
colors: {
  custom: {
    50: '#a27cec',
    500: '#6e45e1',
    950: '#000000',
  },
}
SCSS
$custom: #6e45e1;
$custom-light: #a27cec;
$custom-dark: #000000;
JSON
{
  "hex": "#6e45e1",
  "rgb": {
    "r": 110,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 255.769,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53047,
    "c": 0.22214,
    "h": 288.5
  },
  "luminance": 0.13007
}

Semantic roles & 50–950 ramp

primary
#6E45E1
secondary
#D0E0A2
accent
#EF39BF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6E45E1

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

Preview Lab → · Contrast checker → · Palette generator →

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