#6E48E5#6E48E5

#6E48E5 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.8% C 0.223 H 287.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#6E48E5
RGBrgb(110, 72, 229)
HSLhsl(255, 75%, 59%)
HSVhsv(255, 69%, 90%)
CMYKcmyk(52%, 68.6%, 0%, 10.2%)
CIE-LABlab(43.66, 53.90, -74.18)
CIE-LCHlch(43.66, 91.70, 306.00°)
OKLaboklab(53.78% 0.0671 -0.2131)
OKLCHoklch(53.78% 0.223 287.5)
XYZxyz(22.8865, 13.6057, 75.5338)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E48E5 #BFE548
analogous
#4871E5 #6E48E5 #BD48E5
triadic
#6E48E5 #E56E48 #48E56E
tetradic
#6E48E5 #E54871 #BFE548 #48E5BD
square
#6E48E5 #E54871 #BFE548 #48E5BD
split-complementary
#6E48E5 #E5BD48 #71E548
monochromatic
#37169C #491ED2 #6E48E5 #987EED #C3B3F4

Accessibility & contrast

On white

5.64
#6E48E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#6E48E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E48E5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E48E5#FFFFFF#000000##FFFFFF
##6E48E51.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEA
Deuteranopia (green-blind)
#0063E2
Tritanopia (blue-blind)
#407191
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6e48e5;
/* rgb */ color: rgb(110, 72, 229);
/* oklch */ color: oklch(53.8% 0.223 287.5);
Tailwind
colors: {
  custom: {
    50: '#a27eee',
    500: '#6e48e5',
    950: '#000000',
  },
}
SCSS
$custom: #6e48e5;
$custom-light: #a27eee;
$custom-dark: #000000;
JSON
{
  "hex": "#6e48e5",
  "rgb": {
    "r": 110,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 254.522,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53783,
    "c": 0.22341,
    "h": 287.5
  },
  "luminance": 0.13607
}

Semantic roles & 50–950 ramp

primary
#6E48E5
secondary
#D4E3A6
accent
#F236C4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6E48E5

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

Preview Lab → · Contrast checker → · Palette generator →

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