#6D48DB#6D48DB

#6D48DB is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.9% C 0.212 H 288.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6D48DB
RGBrgb(109, 72, 219)
HSLhsl(255, 67%, 57%)
HSVhsv(255, 67%, 86%)
CMYKcmyk(50.2%, 67.1%, 0%, 14.1%)
CIE-LABlab(42.76, 50.92, -69.96)
CIE-LCHlch(42.76, 86.53, 306.05°)
OKLaboklab(52.87% 0.0673 -0.2007)
OKLCHoklch(52.87% 0.212 288.5)
XYZxyz(21.4065, 12.9994, 68.3853)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D48DB #B6DB48
analogous
#486DDB #6D48DB #B748DB
triadic
#6D48DB #DB6D48 #48DB6D
tetradic
#6D48DB #DB486D #B6DB48 #48DBB7
square
#6D48DB #DB486D #B6DB48 #48DBB7
split-complementary
#6D48DB #DBB748 #6DDB48
monochromatic
#381C8D #4D26C0 #6D48DB #967BE5 #BFAEEF

Accessibility & contrast

On white

5.83
#6D48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6D48DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D48DB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D48DB#FFFFFF#000000##FFFFFF
##6D48DB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#466D8C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6d48db;
/* rgb */ color: rgb(109, 72, 219);
/* oklch */ color: oklch(52.9% 0.212 288.5);
Tailwind
colors: {
  custom: {
    50: '#a07de7',
    500: '#6d48db',
    950: '#000000',
  },
}
SCSS
$custom: #6d48db;
$custom-light: #a07de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d48db",
  "rgb": {
    "r": 109,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 255.102,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52866,
    "c": 0.21173,
    "h": 288.5
  },
  "luminance": 0.13
}

Semantic roles & 50–950 ramp

primary
#6D48DB
secondary
#CEDDA2
accent
#EA3EBF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6D48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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