#6E45BB#6E45BB

#6E45BB is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.177 H 295.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#6E45BB
RGBrgb(110, 69, 187)
HSLhsl(261, 46%, 50%)
HSVhsv(261, 63%, 73%)
CMYKcmyk(41.2%, 63.1%, 0%, 26.7%)
CIE-LABlab(39.85, 43.87, -56.18)
CIE-LCHlch(39.85, 71.28, 307.99°)
OKLaboklab(50.03% 0.0755 -0.1602)
OKLCHoklch(50.03% 0.177 295.2)
XYZxyz(17.5258, 11.1587, 48.2345)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E45BB #92BB45
analogous
#4557BB #6E45BB #A945BB
triadic
#6E45BB #BB6E45 #45BB6E
tetradic
#6E45BB #BB4557 #92BB45 #45BBA9
square
#6E45BB #BB4557 #92BB45 #45BBA9
split-complementary
#6E45BB #BBA945 #57BB45
monochromatic
#392462 #54348F #6E45BB #9172CB #B49FDC

Accessibility & contrast

On white

6.50
#6E45BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6E45BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E45BB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E45BB#FFFFFF#000000##FFFFFF
##6E45BB1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#5A6079
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6e45bb;
/* rgb */ color: rgb(110, 69, 187);
/* oklch */ color: oklch(50.0% 0.177 295.2);
Tailwind
colors: {
  custom: {
    50: '#9d7bd0',
    500: '#6e45bb',
    950: '#000000',
  },
}
SCSS
$custom: #6e45bb;
$custom-light: #9d7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e45bb",
  "rgb": {
    "r": 110,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 260.847,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50029,
    "c": 0.17708,
    "h": 295.2
  },
  "luminance": 0.11159
}

Semantic roles & 50–950 ramp

primary
#6E45BB
secondary
#B6C894
accent
#D652A8
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6E45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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