#6048CD#6048CD

#6048CD is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.6% C 0.196 H 285.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6048CD
RGBrgb(96, 72, 205)
HSLhsl(251, 57%, 54%)
HSVhsv(251, 65%, 80%)
CMYKcmyk(53.2%, 64.9%, 0%, 19.6%)
CIE-LABlab(40.46, 44.62, -65.73)
CIE-LCHlch(40.46, 79.44, 304.17°)
OKLaboklab(50.57% 0.0516 -0.1887)
OKLCHoklch(50.57% 0.196 285.3)
XYZxyz(18.1574, 11.5283, 59.0142)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6048CD #B5CD48
analogous
#4873CD #6048CD #A348CD
triadic
#6048CD #CD6048 #48CD60
tetradic
#6048CD #CD4873 #B5CD48 #48CDA3
square
#6048CD #CD4873 #B5CD48 #48CDA3
split-complementary
#6048CD #CDA348 #73CD48
monochromatic
#312179 #452EA9 #6048CD #8A78DA #B4A8E7

Accessibility & contrast

On white

6.35
#6048CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6048CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6048CD
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6048CD#FFFFFF#000000##FFFFFF
##6048CD1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#336984
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6048cd;
/* rgb */ color: rgb(96, 72, 205);
/* oklch */ color: oklch(50.6% 0.196 285.3);
Tailwind
colors: {
  custom: {
    50: '#977cdd',
    500: '#6048cd',
    950: '#000000',
  },
}
SCSS
$custom: #6048cd;
$custom-light: #977cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6048cd",
  "rgb": {
    "r": 96,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 250.827,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50571,
    "c": 0.19564,
    "h": 285.3
  },
  "luminance": 0.11529
}

Semantic roles & 50–950 ramp

primary
#6048CD
secondary
#CAD59C
accent
#E047C5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6048CD

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

Preview Lab → · Contrast checker → · Palette generator →

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