#6E45BC#6E45BC

#6E45BC is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.1% C 0.178 H 295.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#6E45BC
RGBrgb(110, 69, 188)
HSLhsl(261, 47%, 50%)
HSVhsv(261, 63%, 74%)
CMYKcmyk(41.5%, 63.3%, 0%, 26.3%)
CIE-LABlab(39.92, 44.14, -56.65)
CIE-LCHlch(39.92, 71.81, 307.93°)
OKLaboklab(50.1% 0.0754 -0.1616)
OKLCHoklch(50.1% 0.178 295)
XYZxyz(17.6332, 11.2017, 48.8003)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E45BC #93BC45
analogous
#4557BC #6E45BC #A945BC
triadic
#6E45BC #BC6E45 #45BC6E
tetradic
#6E45BC #BC4557 #93BC45 #45BCA9
square
#6E45BC #BC4557 #93BC45 #45BCA9
split-complementary
#6E45BC #BCA945 #57BC45
monochromatic
#392463 #543490 #6E45BC #9172CC #B49FDC

Accessibility & contrast

On white

6.48
#6E45BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6E45BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E45BC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E45BC#FFFFFF#000000##FFFFFF
##6E45BC1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#5A607A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6e45bc;
/* rgb */ color: rgb(110, 69, 188);
/* oklch */ color: oklch(50.1% 0.178 295.0);
Tailwind
colors: {
  custom: {
    50: '#9d7bd1',
    500: '#6e45bc',
    950: '#000000',
  },
}
SCSS
$custom: #6e45bc;
$custom-light: #9d7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e45bc",
  "rgb": {
    "r": 110,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 260.672,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50103,
    "c": 0.17829,
    "h": 295
  },
  "luminance": 0.11202
}

Semantic roles & 50–950 ramp

primary
#6E45BC
secondary
#B7C994
accent
#D751A9
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6E45BC

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

Preview Lab → · Contrast checker → · Palette generator →

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