#6E45CF#6E45CF

#6E45CF is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.6% C 0.201 H 291.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#6E45CF
RGBrgb(110, 69, 207)
HSLhsl(258, 59%, 54%)
HSVhsv(258, 67%, 81%)
CMYKcmyk(46.9%, 66.7%, 0%, 18.8%)
CIE-LABlab(41.34, 49.35, -65.39)
CIE-LCHlch(41.34, 81.93, 307.04°)
OKLaboklab(51.57% 0.0733 -0.1873)
OKLCHoklch(51.57% 0.201 291.4)
XYZxyz(19.8179, 12.0755, 60.3060)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E45CF #A6CF45
analogous
#4561CF #6E45CF #B345CF
triadic
#6E45CF #CF6E45 #45CF6E
tetradic
#6E45CF #CF4561 #A6CF45 #45CFB3
square
#6E45CF #CF4561 #A6CF45 #45CFB3
split-complementary
#6E45CF #CFB345 #61CF45
monochromatic
#3A207A #522CAB #6E45CF #9476DC #BAA6E8

Accessibility & contrast

On white

6.15
#6E45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6E45CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E45CF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E45CF#FFFFFF#000000##FFFFFF
##6E45CF1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#506784
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6e45cf;
/* rgb */ color: rgb(110, 69, 207);
/* oklch */ color: oklch(51.6% 0.201 291.4);
Tailwind
colors: {
  custom: {
    50: '#9f7bdf',
    500: '#6e45cf',
    950: '#000000',
  },
}
SCSS
$custom: #6e45cf;
$custom-light: #9f7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e45cf",
  "rgb": {
    "r": 110,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 257.826,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51572,
    "c": 0.20111,
    "h": 291.4
  },
  "luminance": 0.12076
}

Semantic roles & 50–950 ramp

primary
#6E45CF
secondary
#C4D59B
accent
#E246B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6E45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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