#6E45DB#6E45DB

#6E45DB is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.215 H 289.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6E45DB
RGBrgb(110, 69, 219)
HSLhsl(256, 68%, 56%)
HSVhsv(256, 68%, 86%)
CMYKcmyk(49.8%, 68.5%, 0%, 14.1%)
CIE-LABlab(42.28, 52.67, -70.74)
CIE-LCHlch(42.28, 88.19, 306.67°)
OKLaboklab(52.55% 0.0715 -0.203)
OKLCHoklch(52.55% 0.215 289.4)
XYZxyz(21.3410, 12.6848, 68.3280)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E45DB #B2DB45
analogous
#4567DB #6E45DB #B945DB
triadic
#6E45DB #DB6E45 #45DB6E
tetradic
#6E45DB #DB4567 #B2DB45 #45DBB9
square
#6E45DB #DB4567 #B2DB45 #45DBB9
split-complementary
#6E45DB #DBB945 #67DB45
monochromatic
#391B8B #4F25BE #6E45DB #9678E5 #BEACEF

Accessibility & contrast

On white

5.94
#6E45DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6E45DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E45DB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E45DB#FFFFFF#000000##FFFFFF
##6E45DB1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#486B8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6e45db;
/* rgb */ color: rgb(110, 69, 219);
/* oklch */ color: oklch(52.5% 0.215 289.4);
Tailwind
colors: {
  custom: {
    50: '#a17ce7',
    500: '#6e45db',
    950: '#000000',
  },
}
SCSS
$custom: #6e45db;
$custom-light: #a17ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e45db",
  "rgb": {
    "r": 110,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 256.4,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52547,
    "c": 0.21519,
    "h": 289.4
  },
  "luminance": 0.12686
}

Semantic roles & 50–950 ramp

primary
#6E45DB
secondary
#CCDD9F
accent
#EA3DBB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6E45DB

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

Preview Lab → · Contrast checker → · Palette generator →

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