#6048CC#6048CC

#6048CC is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.194 H 285.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6048CC
RGBrgb(96, 72, 204)
HSLhsl(251, 56%, 54%)
HSVhsv(251, 65%, 80%)
CMYKcmyk(52.9%, 64.7%, 0%, 20%)
CIE-LABlab(40.38, 44.32, -65.28)
CIE-LCHlch(40.38, 78.90, 304.18°)
OKLaboklab(50.49% 0.0517 -0.1874)
OKLCHoklch(50.49% 0.194 285.4)
XYZxyz(18.0370, 11.4802, 58.3805)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6048CC #B4CC48
analogous
#4872CC #6048CC #A248CC
triadic
#6048CC #CC6048 #48CC60
tetradic
#6048CC #CC4872 #B4CC48 #48CCA2
square
#6048CC #CC4872 #B4CC48 #48CCA2
split-complementary
#6048CC #CCA248 #72CC48
monochromatic
#312178 #452FA8 #6048CC #8A78D9 #B3A8E7

Accessibility & contrast

On white

6.37
#6048CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6048CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6048CC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6048CC#FFFFFF#000000##FFFFFF
##6048CC1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#346984
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6048cc;
/* rgb */ color: rgb(96, 72, 204);
/* oklch */ color: oklch(50.5% 0.194 285.4);
Tailwind
colors: {
  custom: {
    50: '#977cdc',
    500: '#6048cc',
    950: '#000000',
  },
}
SCSS
$custom: #6048cc;
$custom-light: #977cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6048cc",
  "rgb": {
    "r": 96,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 250.909,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50489,
    "c": 0.19439,
    "h": 285.4
  },
  "luminance": 0.11481
}

Semantic roles & 50–950 ramp

primary
#6048CC
secondary
#CAD49C
accent
#E048C4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6048CC

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

Preview Lab → · Contrast checker → · Palette generator →

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