#6E45D8#6E45D8

#6E45D8 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.3% C 0.212 H 289.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#6E45D8
RGBrgb(110, 69, 216)
HSLhsl(257, 65%, 56%)
HSVhsv(257, 68%, 85%)
CMYKcmyk(49.1%, 68.1%, 0%, 15.3%)
CIE-LABlab(42.04, 51.84, -69.41)
CIE-LCHlch(42.04, 86.64, 306.75°)
OKLaboklab(52.3% 0.0719 -0.1991)
OKLCHoklch(52.3% 0.212 289.9)
XYZxyz(20.9496, 12.5282, 66.2668)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E45D8 #AFD845
analogous
#4565D8 #6E45D8 #B745D8
triadic
#6E45D8 #D86E45 #45D86E
tetradic
#6E45D8 #D84565 #AFD845 #45D8B7
square
#6E45D8 #D84565 #AFD845 #45D8B7
split-complementary
#6E45D8 #D8B745 #65D845
monochromatic
#3A1C86 #5027B9 #6E45D8 #9578E3 #BDAAED

Accessibility & contrast

On white

5.99
#6E45D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6E45D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E45D8
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E45D8#FFFFFF#000000##FFFFFF
##6E45D81.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#4A6A89
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6e45d8;
/* rgb */ color: rgb(110, 69, 216);
/* oklch */ color: oklch(52.3% 0.212 289.9);
Tailwind
colors: {
  custom: {
    50: '#a07ce5',
    500: '#6e45d8',
    950: '#000000',
  },
}
SCSS
$custom: #6e45d8;
$custom-light: #a07ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e45d8",
  "rgb": {
    "r": 110,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 256.735,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.523,
    "c": 0.21169,
    "h": 289.9
  },
  "luminance": 0.12529
}

Semantic roles & 50–950 ramp

primary
#6E45D8
secondary
#CADB9E
accent
#E840B9
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6E45D8

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

Preview Lab → · Contrast checker → · Palette generator →

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