#6E45BE#6E45BE

#6E45BE is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.181 H 294.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6E45BE
RGBrgb(110, 69, 190)
HSLhsl(260, 48%, 51%)
HSVhsv(260, 64%, 75%)
CMYKcmyk(42.1%, 63.7%, 0%, 25.5%)
CIE-LABlab(40.06, 44.69, -57.58)
CIE-LCHlch(40.06, 72.89, 307.81°)
OKLaboklab(50.25% 0.0752 -0.1643)
OKLCHoklch(50.25% 0.181 294.6)
XYZxyz(17.8503, 11.2885, 49.9436)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E45BE #95BE45
analogous
#4558BE #6E45BE #AB45BE
triadic
#6E45BE #BE6E45 #45BE6E
tetradic
#6E45BE #BE4558 #95BE45 #45BEAB
square
#6E45BE #BE4558 #95BE45 #45BEAB
split-complementary
#6E45BE #BEAB45 #58BE45
monochromatic
#3A2365 #543393 #6E45BE #9172CE #B5A0DE

Accessibility & contrast

On white

6.45
#6E45BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6E45BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E45BE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E45BE#FFFFFF#000000##FFFFFF
##6E45BE1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#59617B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6e45be;
/* rgb */ color: rgb(110, 69, 190);
/* oklch */ color: oklch(50.3% 0.181 294.6);
Tailwind
colors: {
  custom: {
    50: '#9d7bd2',
    500: '#6e45be',
    950: '#000000',
  },
}
SCSS
$custom: #6e45be;
$custom-light: #9d7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e45be",
  "rgb": {
    "r": 110,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 260.331,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50253,
    "c": 0.18073,
    "h": 294.6
  },
  "luminance": 0.11289
}

Semantic roles & 50–950 ramp

primary
#6E45BE
secondary
#B8CA95
accent
#D850AA
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6E45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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