#6E45D2#6E45D2

#6E45D2 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.8% C 0.205 H 290.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6E45D2
RGBrgb(110, 69, 210)
HSLhsl(257, 61%, 55%)
HSVhsv(257, 67%, 82%)
CMYKcmyk(47.6%, 67.1%, 0%, 17.6%)
CIE-LABlab(41.57, 50.18, -66.74)
CIE-LCHlch(41.57, 83.50, 306.94°)
OKLaboklab(51.81% 0.0729 -0.1912)
OKLCHoklch(51.81% 0.205 290.9)
XYZxyz(20.1881, 12.2236, 62.2560)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E45D2 #A9D245
analogous
#4562D2 #6E45D2 #B545D2
triadic
#6E45D2 #D26E45 #45D26E
tetradic
#6E45D2 #D24562 #A9D245 #45D2B5
square
#6E45D2 #D24562 #A9D245 #45D2B5
split-complementary
#6E45D2 #D2B545 #62D245
monochromatic
#3A1F7E #512AAF #6E45D2 #9476DE #BBA8EA

Accessibility & contrast

On white

6.10
#6E45D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6E45D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E45D2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E45D2#FFFFFF#000000##FFFFFF
##6E45D21.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#4E6886
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6e45d2;
/* rgb */ color: rgb(110, 69, 210);
/* oklch */ color: oklch(51.8% 0.205 290.9);
Tailwind
colors: {
  custom: {
    50: '#a07be1',
    500: '#6e45d2',
    950: '#000000',
  },
}
SCSS
$custom: #6e45d2;
$custom-light: #a07be1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e45d2",
  "rgb": {
    "r": 110,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 257.447,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51813,
    "c": 0.20465,
    "h": 290.9
  },
  "luminance": 0.12224
}

Semantic roles & 50–950 ramp

primary
#6E45D2
secondary
#C6D79C
accent
#E444B5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #6E45D2

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

Preview Lab → · Contrast checker → · Palette generator →

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