#6048D2#6048D2

#6048D2 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.0% C 0.202 H 284.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6048D2
RGBrgb(96, 72, 210)
HSLhsl(250, 61%, 55%)
HSVhsv(250, 66%, 82%)
CMYKcmyk(54.3%, 65.7%, 0%, 17.6%)
CIE-LABlab(40.85, 46.11, -67.96)
CIE-LCHlch(40.85, 82.13, 304.16°)
OKLaboklab(50.98% 0.051 -0.1953)
OKLCHoklch(50.98% 0.202 284.6)
XYZxyz(18.7706, 11.7736, 62.2437)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6048D2 #BAD248
analogous
#4875D2 #6048D2 #A548D2
triadic
#6048D2 #D26048 #48D260
tetradic
#6048D2 #D24875 #BAD248 #48D2A5
square
#6048D2 #D24875 #BAD248 #48D2A5
split-complementary
#6048D2 #D2A548 #75D248
monochromatic
#302080 #432CB1 #6048D2 #8B79DE #B5AAEA

Accessibility & contrast

On white

6.26
#6048D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6048D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6048D2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6048D2#FFFFFF#000000##FFFFFF
##6048D21.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#2D6B87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6048d2;
/* rgb */ color: rgb(96, 72, 210);
/* oklch */ color: oklch(51.0% 0.202 284.6);
Tailwind
colors: {
  custom: {
    50: '#977de1',
    500: '#6048d2',
    950: '#000000',
  },
}
SCSS
$custom: #6048d2;
$custom-light: #977de1;
$custom-dark: #000000;
JSON
{
  "hex": "#6048d2",
  "rgb": {
    "r": 96,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 250.435,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50982,
    "c": 0.20182,
    "h": 284.6
  },
  "luminance": 0.11775
}

Semantic roles & 50–950 ramp

primary
#6048D2
secondary
#CED89E
accent
#E444C8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6048D2

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

Preview Lab → · Contrast checker → · Palette generator →

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