#6048D8#6048D8

#6048D8 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.5% C 0.209 H 283.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#6048D8
RGBrgb(96, 72, 216)
HSLhsl(250, 65%, 56%)
HSVhsv(250, 67%, 85%)
CMYKcmyk(55.6%, 66.7%, 0%, 15.3%)
CIE-LABlab(41.34, 47.90, -70.62)
CIE-LCHlch(41.34, 85.33, 304.15°)
OKLaboklab(51.48% 0.0502 -0.2031)
OKLCHoklch(51.48% 0.209 283.9)
XYZxyz(19.5321, 12.0782, 66.2545)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6048D8 #C0D848
analogous
#4878D8 #6048D8 #A848D8
triadic
#6048D8 #D86048 #48D860
tetradic
#6048D8 #D84878 #C0D848 #48D8A8
square
#6048D8 #D84878 #C0D848 #48D8A8
split-complementary
#6048D8 #D8A848 #78D848
monochromatic
#2F1D89 #4028BB #6048D8 #8C7AE3 #B8ADEE

Accessibility & contrast

On white

6.15
#6048D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6048D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6048D8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6048D8#FFFFFF#000000##FFFFFF
##6048D81.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#005DD5
Tritanopia (blue-blind)
#266D8A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6048d8;
/* rgb */ color: rgb(96, 72, 216);
/* oklch */ color: oklch(51.5% 0.209 283.9);
Tailwind
colors: {
  custom: {
    50: '#987de5',
    500: '#6048d8',
    950: '#000000',
  },
}
SCSS
$custom: #6048d8;
$custom-light: #987de5;
$custom-dark: #000000;
JSON
{
  "hex": "#6048d8",
  "rgb": {
    "r": 96,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 250,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51483,
    "c": 0.20918,
    "h": 283.9
  },
  "luminance": 0.12079
}

Semantic roles & 50–950 ramp

primary
#6048D8
secondary
#D2DBA0
accent
#E840CC
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6048D8

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

Preview Lab → · Contrast checker → · Palette generator →

#6048D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva