#6E48E4#6E48E4

#6E48E4 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.222 H 287.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6E48E4
RGBrgb(110, 72, 228)
HSLhsl(255, 74%, 59%)
HSVhsv(255, 68%, 89%)
CMYKcmyk(51.8%, 68.4%, 0%, 10.6%)
CIE-LABlab(43.58, 53.62, -73.75)
CIE-LCHlch(43.58, 91.18, 306.02°)
OKLaboklab(53.7% 0.0673 -0.2118)
OKLCHoklch(53.7% 0.222 287.6)
XYZxyz(22.7472, 13.5501, 74.8006)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E48E4 #BEE448
analogous
#4870E4 #6E48E4 #BC48E4
triadic
#6E48E4 #E46E48 #48E46E
tetradic
#6E48E4 #E44870 #BEE448 #48E4BC
square
#6E48E4 #E44870 #BEE448 #48E4BC
split-complementary
#6E48E4 #E4BC48 #70E448
monochromatic
#37179B #4A1FD0 #6E48E4 #987DEC #C3B3F4

Accessibility & contrast

On white

5.66
#6E48E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6E48E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E48E4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E48E4#FFFFFF#000000##FFFFFF
##6E48E41.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#0063E1
Tritanopia (blue-blind)
#417091
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6e48e4;
/* rgb */ color: rgb(110, 72, 228);
/* oklch */ color: oklch(53.7% 0.222 287.6);
Tailwind
colors: {
  custom: {
    50: '#a27eee',
    500: '#6e48e4',
    950: '#000000',
  },
}
SCSS
$custom: #6e48e4;
$custom-light: #a27eee;
$custom-dark: #000000;
JSON
{
  "hex": "#6e48e4",
  "rgb": {
    "r": 110,
    "g": 72,
    "b": 228
  },
  "hsl": {
    "h": 254.615,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53699,
    "c": 0.22225,
    "h": 287.6
  },
  "luminance": 0.13551
}

Semantic roles & 50–950 ramp

primary
#6E48E4
secondary
#D4E3A5
accent
#F137C4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6E48E4

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

Preview Lab → · Contrast checker → · Palette generator →

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