#6E45DC#6E45DC

#6E45DC is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.6% C 0.216 H 289.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6E45DC
RGBrgb(110, 69, 220)
HSLhsl(256, 68%, 57%)
HSVhsv(256, 69%, 86%)
CMYKcmyk(50%, 68.6%, 0%, 13.7%)
CIE-LABlab(42.37, 52.95, -71.18)
CIE-LCHlch(42.37, 88.71, 306.65°)
OKLaboklab(52.63% 0.0713 -0.2043)
OKLCHoklch(52.63% 0.216 289.2)
XYZxyz(21.4731, 12.7376, 69.0234)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E45DC #B3DC45
analogous
#4568DC #6E45DC #B945DC
triadic
#6E45DC #DC6E45 #45DC6E
tetradic
#6E45DC #DC4568 #B3DC45 #45DCB9
square
#6E45DC #DC4568 #B3DC45 #45DCB9
split-complementary
#6E45DC #DCB945 #68DC45
monochromatic
#391A8C #4E24C0 #6E45DC #9679E6 #BEACEF

Accessibility & contrast

On white

5.92
#6E45DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6E45DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E45DC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E45DC#FFFFFF#000000##FFFFFF
##6E45DC1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#476C8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6e45dc;
/* rgb */ color: rgb(110, 69, 220);
/* oklch */ color: oklch(52.6% 0.216 289.2);
Tailwind
colors: {
  custom: {
    50: '#a17ce8',
    500: '#6e45dc',
    950: '#000000',
  },
}
SCSS
$custom: #6e45dc;
$custom-light: #a17ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e45dc",
  "rgb": {
    "r": 110,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 256.291,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5263,
    "c": 0.21635,
    "h": 289.2
  },
  "luminance": 0.12739
}

Semantic roles & 50–950 ramp

primary
#6E45DC
secondary
#CDDDA0
accent
#EB3DBC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6E45DC

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

Preview Lab → · Contrast checker → · Palette generator →

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