#6E45D9#6E45D9

#6E45D9 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.4% C 0.213 H 289.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6E45D9
RGBrgb(110, 69, 217)
HSLhsl(257, 66%, 56%)
HSVhsv(257, 68%, 85%)
CMYKcmyk(49.3%, 68.2%, 0%, 14.9%)
CIE-LABlab(42.12, 52.12, -69.86)
CIE-LCHlch(42.12, 87.16, 306.73°)
OKLaboklab(52.38% 0.0718 -0.2004)
OKLCHoklch(52.38% 0.213 289.7)
XYZxyz(21.0793, 12.5801, 66.9497)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E45D9 #B0D945
analogous
#4566D9 #6E45D9 #B845D9
triadic
#6E45D9 #D96E45 #45D96E
tetradic
#6E45D9 #D94566 #B0D945 #45D9B8
square
#6E45D9 #D94566 #B0D945 #45D9B8
split-complementary
#6E45D9 #D9B845 #66D945
monochromatic
#3A1C88 #4F26BB #6E45D9 #9678E3 #BDABEE

Accessibility & contrast

On white

5.97
#6E45D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6E45D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E45D9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E45D9#FFFFFF#000000##FFFFFF
##6E45D91.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#496B8A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6e45d9;
/* rgb */ color: rgb(110, 69, 217);
/* oklch */ color: oklch(52.4% 0.213 289.7);
Tailwind
colors: {
  custom: {
    50: '#a17ce6',
    500: '#6e45d9',
    950: '#000000',
  },
}
SCSS
$custom: #6e45d9;
$custom-light: #a17ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e45d9",
  "rgb": {
    "r": 110,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 256.622,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52382,
    "c": 0.21286,
    "h": 289.7
  },
  "luminance": 0.12581
}

Semantic roles & 50–950 ramp

primary
#6E45D9
secondary
#CBDB9E
accent
#E93FBA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6E45D9

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

Preview Lab → · Contrast checker → · Palette generator →

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