#6E45E4#6E45E4

#6E45E4 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.226 H 288.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6E45E4
RGBrgb(110, 69, 228)
HSLhsl(255, 75%, 58%)
HSVhsv(255, 70%, 89%)
CMYKcmyk(51.8%, 69.7%, 0%, 10.6%)
CIE-LABlab(43.02, 55.17, -74.66)
CIE-LCHlch(43.02, 92.83, 306.46°)
OKLaboklab(53.3% 0.0699 -0.2145)
OKLCHoklch(53.3% 0.226 288)
XYZxyz(22.5580, 13.1716, 74.7375)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E45E4 #BBE445
analogous
#456BE4 #6E45E4 #BE45E4
triadic
#6E45E4 #E46E45 #45E46E
tetradic
#6E45E4 #E4456B #BBE445 #45E4BE
square
#6E45E4 #E4456B #BBE445 #45E4BE
split-complementary
#6E45E4 #E4BE45 #6BE445
monochromatic
#381698 #4B1ECE #6E45E4 #987AEC #C1B0F4

Accessibility & contrast

On white

5.78
#6E45E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6E45E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E45E4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E45E4#FFFFFF#000000##FFFFFF
##6E45E41.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#416F90
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6e45e4;
/* rgb */ color: rgb(110, 69, 228);
/* oklch */ color: oklch(53.3% 0.226 288.0);
Tailwind
colors: {
  custom: {
    50: '#a27cee',
    500: '#6e45e4',
    950: '#000000',
  },
}
SCSS
$custom: #6e45e4;
$custom-light: #a27cee;
$custom-dark: #000000;
JSON
{
  "hex": "#6e45e4",
  "rgb": {
    "r": 110,
    "g": 69,
    "b": 228
  },
  "hsl": {
    "h": 255.472,
    "s": 74.648,
    "l": 58.235
  },
  "oklch": {
    "l": 0.533,
    "c": 0.22559,
    "h": 288
  },
  "luminance": 0.13173
}

Semantic roles & 50–950 ramp

primary
#6E45E4
secondary
#D2E2A3
accent
#F137C1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6E45E4

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

Preview Lab → · Contrast checker → · Palette generator →

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