#6D48BC#6D48BC

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

Color values

HEX#6D48BC
RGBrgb(109, 72, 188)
HSLhsl(259, 46%, 51%)
HSVhsv(259, 62%, 74%)
CMYKcmyk(42%, 61.7%, 0%, 26.3%)
CIE-LABlab(40.44, 42.26, -55.81)
CIE-LCHlch(40.44, 70.00, 307.13°)
OKLaboklab(50.46% 0.0707 -0.1591)
OKLCHoklch(50.46% 0.174 293.9)
XYZxyz(17.6987, 11.5163, 48.8576)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D48BC #97BC48
analogous
#485DBC #6D48BC #A748BC
triadic
#6D48BC #BC6D48 #48BC6D
tetradic
#6D48BC #BC485D #97BC48 #48BCA7
square
#6D48BC #BC485D #97BC48 #48BCA7
split-complementary
#6D48BC #BCA748 #5DBC48
monochromatic
#392565 #533592 #6D48BC #9175CC #B4A2DD

Accessibility & contrast

On white

6.36
#6D48BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6D48BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D48BC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D48BC#FFFFFF#000000##FFFFFF
##6D48BC1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#58627B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6d48bc;
/* rgb */ color: rgb(109, 72, 188);
/* oklch */ color: oklch(50.5% 0.174 293.9);
Tailwind
colors: {
  custom: {
    50: '#9c7dd1',
    500: '#6d48bc',
    950: '#000000',
  },
}
SCSS
$custom: #6d48bc;
$custom-light: #9c7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d48bc",
  "rgb": {
    "r": 109,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 259.138,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50456,
    "c": 0.17412,
    "h": 293.9
  },
  "luminance": 0.11517
}

Semantic roles & 50–950 ramp

primary
#6D48BC
secondary
#B9CA96
accent
#D652AC
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6D48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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