#6048AF#6048AF

#6048AF is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.2% C 0.157 H 290.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#6048AF
RGBrgb(96, 72, 175)
HSLhsl(254, 42%, 48%)
HSVhsv(254, 59%, 69%)
CMYKcmyk(45.1%, 58.9%, 0%, 31.4%)
CIE-LABlab(38.23, 35.72, -51.79)
CIE-LCHlch(38.23, 62.91, 304.60°)
OKLaboklab(48.24% 0.0536 -0.1477)
OKLCHoklch(48.24% 0.157 290)
XYZxyz(14.8769, 10.2161, 41.7372)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6048AF #97AF48
analogous
#4863AF #6048AF #9348AF
triadic
#6048AF #AF6048 #48AF60
tetradic
#6048AF #AF4863 #97AF48 #48AF93
square
#6048AF #AF4863 #97AF48 #48AF93
split-complementary
#6048AF #AF9348 #63AF48
monochromatic
#302458 #483684 #6048AF #8470C4 #A99BD6

Accessibility & contrast

On white

6.90
#6048AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6048AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6048AF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6048AF#FFFFFF#000000##FFFFFF
##6048AF1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0358AD
Tritanopia (blue-blind)
#485F74
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6048af;
/* rgb */ color: rgb(96, 72, 175);
/* oklch */ color: oklch(48.2% 0.157 290.0);
Tailwind
colors: {
  custom: {
    50: '#937cc8',
    500: '#6048af',
    950: '#000000',
  },
}
SCSS
$custom: #6048af;
$custom-light: #937cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6048af",
  "rgb": {
    "r": 96,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 253.981,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48244,
    "c": 0.15716,
    "h": 290
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

primary
#6048AF
secondary
#B7C290
accent
#D256B5
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #6048AF

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

Preview Lab → · Contrast checker → · Palette generator →

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