#6B48DB#6B48DB

#6B48DB is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.7% C 0.212 H 287.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6B48DB
RGBrgb(107, 72, 219)
HSLhsl(254, 67%, 57%)
HSVhsv(254, 67%, 86%)
CMYKcmyk(51.1%, 67.1%, 0%, 14.1%)
CIE-LABlab(42.57, 50.58, -70.28)
CIE-LCHlch(42.57, 86.59, 305.74°)
OKLaboklab(52.69% 0.0646 -0.2017)
OKLCHoklch(52.69% 0.212 287.8)
XYZxyz(21.1632, 12.8740, 68.3739)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B48DB #B8DB48
analogous
#486FDB #6B48DB #B548DB
triadic
#6B48DB #DB6B48 #48DB6B
tetradic
#6B48DB #DB486F #B8DB48 #48DBB5
square
#6B48DB #DB486F #B8DB48 #48DBB5
split-complementary
#6B48DB #DBB548 #6FDB48
monochromatic
#371C8D #4B26C0 #6B48DB #947BE5 #BEAEEF

Accessibility & contrast

On white

5.87
#6B48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6B48DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B48DB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B48DB#FFFFFF#000000##FFFFFF
##6B48DB1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b48db;
/* rgb */ color: rgb(107, 72, 219);
/* oklch */ color: oklch(52.7% 0.212 287.8);
Tailwind
colors: {
  custom: {
    50: '#9f7de7',
    500: '#6b48db',
    950: '#000000',
  },
}
SCSS
$custom: #6b48db;
$custom-light: #9f7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b48db",
  "rgb": {
    "r": 107,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 254.286,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52685,
    "c": 0.21183,
    "h": 287.8
  },
  "luminance": 0.12875
}

Semantic roles & 50–950 ramp

primary
#6B48DB
secondary
#CFDDA2
accent
#EA3EC1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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