#6048D4#6048D4

#6048D4 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.1% C 0.204 H 284.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6048D4
RGBrgb(96, 72, 212)
HSLhsl(250, 62%, 56%)
HSVhsv(250, 66%, 83%)
CMYKcmyk(54.7%, 66%, 0%, 16.9%)
CIE-LABlab(41.02, 46.71, -68.85)
CIE-LCHlch(41.02, 83.20, 304.15°)
OKLaboklab(51.15% 0.0507 -0.1979)
OKLCHoklch(51.15% 0.204 284.4)
XYZxyz(19.0213, 11.8739, 63.5642)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6048D4 #BCD448
analogous
#4876D4 #6048D4 #A648D4
triadic
#6048D4 #D46048 #48D460
tetradic
#6048D4 #D44876 #BCD448 #48D4A6
square
#6048D4 #D44876 #BCD448 #48D4A6
split-complementary
#6048D4 #D4A648 #76D448
monochromatic
#301F83 #422AB4 #6048D4 #8B7AE0 #B6ABEB

Accessibility & contrast

On white

6.22
#6048D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6048D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6048D4
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6048D4#FFFFFF#000000##FFFFFF
##6048D41.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#005CD1
Tritanopia (blue-blind)
#2B6B88
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6048d4;
/* rgb */ color: rgb(96, 72, 212);
/* oklch */ color: oklch(51.1% 0.204 284.4);
Tailwind
colors: {
  custom: {
    50: '#987de2',
    500: '#6048d4',
    950: '#000000',
  },
}
SCSS
$custom: #6048d4;
$custom-light: #987de2;
$custom-dark: #000000;
JSON
{
  "hex": "#6048d4",
  "rgb": {
    "r": 96,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 250.286,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51148,
    "c": 0.20429,
    "h": 284.4
  },
  "luminance": 0.11875
}

Semantic roles & 50–950 ramp

primary
#6048D4
secondary
#CFD99F
accent
#E543C9
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A15
muted
#7F7C84

Preview Lab

Preview with #6048D4

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

Preview Lab → · Contrast checker → · Palette generator →

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