#6D48BB#6D48BB

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

Color values

HEX#6D48BB
RGBrgb(109, 72, 187)
HSLhsl(259, 46%, 51%)
HSVhsv(259, 61%, 73%)
CMYKcmyk(41.7%, 61.5%, 0%, 26.7%)
CIE-LABlab(40.37, 41.98, -55.34)
CIE-LCHlch(40.37, 69.46, 307.19°)
OKLaboklab(50.38% 0.0707 -0.1578)
OKLCHoklch(50.38% 0.173 294.1)
XYZxyz(17.5913, 11.4734, 48.2918)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D48BB #96BB48
analogous
#485CBB #6D48BB #A648BB
triadic
#6D48BB #BB6D48 #48BB6D
tetradic
#6D48BB #BB485C #96BB48 #48BBA6
square
#6D48BB #BB485C #96BB48 #48BBA6
split-complementary
#6D48BB #BBA648 #5CBB48
monochromatic
#392564 #533690 #6D48BB #9175CC #B4A1DC

Accessibility & contrast

On white

6.37
#6D48BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6D48BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D48BB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D48BB#FFFFFF#000000##FFFFFF
##6D48BB1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#58627B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6d48bb;
/* rgb */ color: rgb(109, 72, 187);
/* oklch */ color: oklch(50.4% 0.173 294.1);
Tailwind
colors: {
  custom: {
    50: '#9c7dd0',
    500: '#6d48bb',
    950: '#000000',
  },
}
SCSS
$custom: #6d48bb;
$custom-light: #9c7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d48bb",
  "rgb": {
    "r": 109,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 259.304,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50382,
    "c": 0.17288,
    "h": 294.1
  },
  "luminance": 0.11474
}

Semantic roles & 50–950 ramp

primary
#6D48BB
secondary
#B9C996
accent
#D552AB
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6D48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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