#6048CA#6048CA

#6048CA is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.3% C 0.192 H 285.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#6048CA
RGBrgb(96, 72, 202)
HSLhsl(251, 55%, 54%)
HSVhsv(251, 64%, 79%)
CMYKcmyk(52.5%, 64.4%, 0%, 20.8%)
CIE-LABlab(40.22, 43.72, -64.37)
CIE-LCHlch(40.22, 77.82, 304.19°)
OKLaboklab(50.33% 0.0519 -0.1847)
OKLCHoklch(50.33% 0.192 285.7)
XYZxyz(17.7987, 11.3849, 57.1253)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6048CA #B2CA48
analogous
#4871CA #6048CA #A148CA
triadic
#6048CA #CA6048 #48CA60
tetradic
#6048CA #CA4871 #B2CA48 #48CAA1
square
#6048CA #CA4871 #B2CA48 #48CAA1
split-complementary
#6048CA #CAA148 #71CA48
monochromatic
#312276 #4530A5 #6048CA #8977D8 #B2A7E5

Accessibility & contrast

On white

6.41
#6048CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6048CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6048CA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6048CA#FFFFFF#000000##FFFFFF
##6048CA1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#366882
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6048ca;
/* rgb */ color: rgb(96, 72, 202);
/* oklch */ color: oklch(50.3% 0.192 285.7);
Tailwind
colors: {
  custom: {
    50: '#967cdb',
    500: '#6048ca',
    950: '#000000',
  },
}
SCSS
$custom: #6048ca;
$custom-light: #967cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6048ca",
  "rgb": {
    "r": 96,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 251.077,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50327,
    "c": 0.19189,
    "h": 285.7
  },
  "luminance": 0.11386
}

Semantic roles & 50–950 ramp

primary
#6048CA
secondary
#C8D39B
accent
#DE49C3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #6048CA

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

Preview Lab → · Contrast checker → · Palette generator →

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