#6E48BB#6E48BB

#6E48BB is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.173 H 294.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6E48BB
RGBrgb(110, 72, 187)
HSLhsl(260, 46%, 51%)
HSVhsv(260, 61%, 73%)
CMYKcmyk(41.2%, 61.5%, 0%, 26.7%)
CIE-LABlab(40.47, 42.20, -55.17)
CIE-LCHlch(40.47, 69.45, 307.41°)
OKLaboklab(50.48% 0.0721 -0.1572)
OKLCHoklch(50.48% 0.173 294.6)
XYZxyz(17.7150, 11.5372, 48.2976)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E48BB #95BB48
analogous
#485BBB #6E48BB #A748BB
triadic
#6E48BB #BB6E48 #48BB6E
tetradic
#6E48BB #BB485B #95BB48 #48BBA7
square
#6E48BB #BB485B #95BB48 #48BBA7
split-complementary
#6E48BB #BBA748 #5BBB48
monochromatic
#3A2564 #543690 #6E48BB #9175CC #B5A1DC

Accessibility & contrast

On white

6.35
#6E48BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6E48BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E48BB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E48BB#FFFFFF#000000##FFFFFF
##6E48BB1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#5A627B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6e48bb;
/* rgb */ color: rgb(110, 72, 187);
/* oklch */ color: oklch(50.5% 0.173 294.6);
Tailwind
colors: {
  custom: {
    50: '#9d7dd0',
    500: '#6e48bb',
    950: '#000000',
  },
}
SCSS
$custom: #6e48bb;
$custom-light: #9d7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e48bb",
  "rgb": {
    "r": 110,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 259.826,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50483,
    "c": 0.17294,
    "h": 294.6
  },
  "luminance": 0.11538
}

Semantic roles & 50–950 ramp

primary
#6E48BB
secondary
#B8C996
accent
#D552AA
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6E48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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