#6048CF#6048CF

#6048CF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.198 H 285.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6048CF
RGBrgb(96, 72, 207)
HSLhsl(251, 58%, 55%)
HSVhsv(251, 65%, 81%)
CMYKcmyk(53.6%, 65.2%, 0%, 18.8%)
CIE-LABlab(40.61, 45.22, -66.62)
CIE-LCHlch(40.61, 80.52, 304.16°)
OKLaboklab(50.73% 0.0513 -0.1913)
OKLCHoklch(50.73% 0.198 285)
XYZxyz(18.4003, 11.6255, 60.2938)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6048CF #B7CF48
analogous
#4873CF #6048CF #A448CF
triadic
#6048CF #CF6048 #48CF60
tetradic
#6048CF #CF4873 #B7CF48 #48CFA4
square
#6048CF #CF4873 #B7CF48 #48CFA4
split-complementary
#6048CF #CFA448 #73CF48
monochromatic
#31217C #442DAD #6048CF #8A78DC #B4A9E8

Accessibility & contrast

On white

6.32
#6048CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6048CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6048CF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6048CF#FFFFFF#000000##FFFFFF
##6048CF1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#316A85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6048cf;
/* rgb */ color: rgb(96, 72, 207);
/* oklch */ color: oklch(50.7% 0.198 285.0);
Tailwind
colors: {
  custom: {
    50: '#977cdf',
    500: '#6048cf',
    950: '#000000',
  },
}
SCSS
$custom: #6048cf;
$custom-light: #977cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6048cf",
  "rgb": {
    "r": 96,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 250.667,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50734,
    "c": 0.19812,
    "h": 285
  },
  "luminance": 0.11627
}

Semantic roles & 50–950 ramp

primary
#6048CF
secondary
#CCD69D
accent
#E246C6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6048CF

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

Preview Lab → · Contrast checker → · Palette generator →

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