#6048BE#6048BE

#6048BE is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.4% C 0.177 H 287.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#6048BE
RGBrgb(96, 72, 190)
HSLhsl(252, 48%, 51%)
HSVhsv(252, 62%, 75%)
CMYKcmyk(49.5%, 62.1%, 0%, 25.5%)
CIE-LABlab(39.31, 40.15, -58.87)
CIE-LCHlch(39.31, 71.26, 304.29°)
OKLaboklab(49.38% 0.053 -0.1686)
OKLCHoklch(49.38% 0.177 287.4)
XYZxyz(16.4328, 10.8385, 49.9314)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6048BE #A6BE48
analogous
#486BBE #6048BE #9B48BE
triadic
#6048BE #BE6048 #48BE60
tetradic
#6048BE #BE486B #A6BE48 #48BE9B
square
#6048BE #BE486B #A6BE48 #48BE9B
split-complementary
#6048BE #BE9B48 #6BBE48
monochromatic
#322567 #483594 #6048BE #8775CE #AEA2DE

Accessibility & contrast

On white

6.63
#6048BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6048BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6048BE
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6048BE#FFFFFF#000000##FFFFFF
##6048BE1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#3F647C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6048be;
/* rgb */ color: rgb(96, 72, 190);
/* oklch */ color: oklch(49.4% 0.177 287.4);
Tailwind
colors: {
  custom: {
    50: '#957cd2',
    500: '#6048be',
    950: '#000000',
  },
}
SCSS
$custom: #6048be;
$custom-light: #957cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6048be",
  "rgb": {
    "r": 96,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 252.203,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49375,
    "c": 0.17669,
    "h": 287.4
  },
  "luminance": 0.10839
}

Semantic roles & 50–950 ramp

primary
#6048BE
secondary
#C0CB97
accent
#D751BC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6048BE

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

Preview Lab → · Contrast checker → · Palette generator →

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