#6E45D5#6E45D5

#6E45D5 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.1% C 0.208 H 290.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#6E45D5
RGBrgb(110, 69, 213)
HSLhsl(257, 63%, 55%)
HSVhsv(257, 68%, 84%)
CMYKcmyk(48.4%, 67.6%, 0%, 16.5%)
CIE-LABlab(41.81, 51.01, -68.08)
CIE-LCHlch(41.81, 85.07, 306.84°)
OKLaboklab(52.05% 0.0724 -0.1952)
OKLCHoklch(52.05% 0.208 290.4)
XYZxyz(20.5653, 12.3745, 64.2428)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E45D5 #ACD545
analogous
#4564D5 #6E45D5 #B645D5
triadic
#6E45D5 #D56E45 #45D56E
tetradic
#6E45D5 #D54564 #ACD545 #45D5B6
square
#6E45D5 #D54564 #ACD545 #45D5B6
split-complementary
#6E45D5 #D5B645 #64D545
monochromatic
#3A1D82 #5029B4 #6E45D5 #9577E0 #BCA9EC

Accessibility & contrast

On white

6.04
#6E45D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6E45D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E45D5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E45D5#FFFFFF#000000##FFFFFF
##6E45D51.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#4C6987
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6e45d5;
/* rgb */ color: rgb(110, 69, 213);
/* oklch */ color: oklch(52.1% 0.208 290.4);
Tailwind
colors: {
  custom: {
    50: '#a07be3',
    500: '#6e45d5',
    950: '#000000',
  },
}
SCSS
$custom: #6e45d5;
$custom-light: #a07be3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e45d5",
  "rgb": {
    "r": 110,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 257.083,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52055,
    "c": 0.20818,
    "h": 290.4
  },
  "luminance": 0.12375
}

Semantic roles & 50–950 ramp

primary
#6E45D5
secondary
#C8D99D
accent
#E642B7
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6E45D5

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

Preview Lab → · Contrast checker → · Palette generator →

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