#6D48BF#6D48BF

#6D48BF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.178 H 293.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6D48BF
RGBrgb(109, 72, 191)
HSLhsl(259, 48%, 52%)
HSVhsv(259, 62%, 75%)
CMYKcmyk(42.9%, 62.3%, 0%, 25.1%)
CIE-LABlab(40.65, 43.09, -57.22)
CIE-LCHlch(40.65, 71.63, 306.98°)
OKLaboklab(50.68% 0.0705 -0.1633)
OKLCHoklch(50.68% 0.178 293.3)
XYZxyz(18.0255, 11.6470, 50.5785)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D48BF #9ABF48
analogous
#485FBF #6D48BF #A848BF
triadic
#6D48BF #BF6D48 #48BF6D
tetradic
#6D48BF #BF485F #9ABF48 #48BFA8
square
#6D48BF #BF485F #9ABF48 #48BFA8
split-complementary
#6D48BF #BFA848 #5FBF48
monochromatic
#392468 #533496 #6D48BF #9175CF #B5A3DF

Accessibility & contrast

On white

6.31
#6D48BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6D48BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D48BF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D48BF#FFFFFF#000000##FFFFFF
##6D48BF1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#56637D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6d48bf;
/* rgb */ color: rgb(109, 72, 191);
/* oklch */ color: oklch(50.7% 0.178 293.3);
Tailwind
colors: {
  custom: {
    50: '#9d7dd3',
    500: '#6d48bf',
    950: '#000000',
  },
}
SCSS
$custom: #6d48bf;
$custom-light: #9d7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d48bf",
  "rgb": {
    "r": 109,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 258.655,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50678,
    "c": 0.17784,
    "h": 293.3
  },
  "luminance": 0.11648
}

Semantic roles & 50–950 ramp

primary
#6D48BF
secondary
#BBCC97
accent
#D850AE
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #6D48BF

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

Preview Lab → · Contrast checker → · Palette generator →

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