#6E45BF#6E45BF

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

Color values

HEX#6E45BF
RGBrgb(110, 69, 191)
HSLhsl(260, 49%, 51%)
HSVhsv(260, 64%, 75%)
CMYKcmyk(42.4%, 63.9%, 0%, 25.1%)
CIE-LABlab(40.13, 44.96, -58.05)
CIE-LCHlch(40.13, 73.42, 307.76°)
OKLaboklab(50.33% 0.0752 -0.1657)
OKLCHoklch(50.33% 0.182 294.4)
XYZxyz(17.9600, 11.3324, 50.5212)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E45BF #96BF45
analogous
#4559BF #6E45BF #AB45BF
triadic
#6E45BF #BF6E45 #45BF6E
tetradic
#6E45BF #BF4559 #96BF45 #45BFAB
square
#6E45BF #BF4559 #96BF45 #45BFAB
split-complementary
#6E45BF #BFAB45 #59BF45
monochromatic
#3A2366 #533394 #6E45BF #9173CF #B5A0DE

Accessibility & contrast

On white

6.43
#6E45BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6E45BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E45BF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E45BF#FFFFFF#000000##FFFFFF
##6E45BF1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#58617C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6e45bf;
/* rgb */ color: rgb(110, 69, 191);
/* oklch */ color: oklch(50.3% 0.182 294.4);
Tailwind
colors: {
  custom: {
    50: '#9e7bd3',
    500: '#6e45bf',
    950: '#000000',
  },
}
SCSS
$custom: #6e45bf;
$custom-light: #9e7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e45bf",
  "rgb": {
    "r": 110,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 260.164,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50329,
    "c": 0.18194,
    "h": 294.4
  },
  "luminance": 0.11333
}

Semantic roles & 50–950 ramp

primary
#6E45BF
secondary
#B9CB95
accent
#D84FAA
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6E45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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