#6E45DF#6E45DF

#6E45DF is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.220 H 288.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6E45DF
RGBrgb(110, 69, 223)
HSLhsl(256, 71%, 57%)
HSVhsv(256, 69%, 87%)
CMYKcmyk(50.7%, 69.1%, 0%, 12.5%)
CIE-LABlab(42.61, 53.78, -72.49)
CIE-LCHlch(42.61, 90.26, 306.57°)
OKLaboklab(52.88% 0.0708 -0.2081)
OKLCHoklch(52.88% 0.22 288.8)
XYZxyz(21.8739, 12.8980, 71.1347)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E45DF #B6DF45
analogous
#4569DF #6E45DF #BB45DF
triadic
#6E45DF #DF6E45 #45DF6E
tetradic
#6E45DF #DF4569 #B6DF45 #45DFBB
square
#6E45DF #DF4569 #B6DF45 #45DFBB
split-complementary
#6E45DF #DFBB45 #69DF45
monochromatic
#391991 #4D22C5 #6E45DF #9779E8 #BFADF1

Accessibility & contrast

On white

5.87
#6E45DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6E45DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E45DF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E45DF#FFFFFF#000000##FFFFFF
##6E45DF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#0061DC
Tritanopia (blue-blind)
#456D8D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6e45df;
/* rgb */ color: rgb(110, 69, 223);
/* oklch */ color: oklch(52.9% 0.220 288.8);
Tailwind
colors: {
  custom: {
    50: '#a17cea',
    500: '#6e45df',
    950: '#000000',
  },
}
SCSS
$custom: #6e45df;
$custom-light: #a17cea;
$custom-dark: #000000;
JSON
{
  "hex": "#6e45df",
  "rgb": {
    "r": 110,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 255.974,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52879,
    "c": 0.21983,
    "h": 288.8
  },
  "luminance": 0.12899
}

Semantic roles & 50–950 ramp

primary
#6E45DF
secondary
#CEDFA1
accent
#ED3ABE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6E45DF

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

Preview Lab → · Contrast checker → · Palette generator →

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