#6D48D3#6D48D3

#6D48D3 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.2% C 0.202 H 289.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6D48D3
RGBrgb(109, 72, 211)
HSLhsl(256, 61%, 55%)
HSVhsv(256, 66%, 83%)
CMYKcmyk(48.3%, 65.9%, 0%, 17.3%)
CIE-LABlab(42.14, 48.67, -66.40)
CIE-LCHlch(42.14, 82.33, 306.24°)
OKLaboklab(52.22% 0.0684 -0.1903)
OKLCHoklch(52.22% 0.202 289.8)
XYZxyz(20.3785, 12.5883, 62.9714)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D48D3 #AED348
analogous
#4869D3 #6D48D3 #B248D3
triadic
#6D48D3 #D36D48 #48D36D
tetradic
#6D48D3 #D34869 #AED348 #48D3B2
square
#6D48D3 #D34869 #AED348 #48D3B2
split-complementary
#6D48D3 #D3B248 #69D348
monochromatic
#391F81 #4F2BB3 #6D48D3 #9479DF #BCABEB

Accessibility & contrast

On white

5.97
#6D48D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6D48D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D48D3
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D48D3#FFFFFF#000000##FFFFFF
##6D48D31.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#4B6A87
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6d48d3;
/* rgb */ color: rgb(109, 72, 211);
/* oklch */ color: oklch(52.2% 0.202 289.8);
Tailwind
colors: {
  custom: {
    50: '#9f7de1',
    500: '#6d48d3',
    950: '#000000',
  },
}
SCSS
$custom: #6d48d3;
$custom-light: #9f7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d48d3",
  "rgb": {
    "r": 109,
    "g": 72,
    "b": 211
  },
  "hsl": {
    "h": 255.971,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52221,
    "c": 0.2022,
    "h": 289.8
  },
  "luminance": 0.12589
}

Semantic roles & 50–950 ramp

primary
#6D48D3
secondary
#C9D89E
accent
#E443BA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D48D3

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

Preview Lab → · Contrast checker → · Palette generator →

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