#6049AF#6049AF

#6049AF is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.4% C 0.156 H 289.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#6049AF
RGBrgb(96, 73, 175)
HSLhsl(254, 41%, 49%)
HSVhsv(254, 58%, 69%)
CMYKcmyk(45.1%, 58.3%, 0%, 31.4%)
CIE-LABlab(38.46, 35.12, -51.42)
CIE-LCHlch(38.46, 62.27, 304.34°)
OKLaboklab(48.41% 0.0525 -0.1466)
OKLCHoklch(48.41% 0.156 289.7)
XYZxyz(14.9421, 10.3465, 41.7589)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6049AF #98AF49
analogous
#4965AF #6049AF #9349AF
triadic
#6049AF #AF6049 #49AF60
tetradic
#6049AF #AF4965 #98AF49 #49AF93
square
#6049AF #AF4965 #98AF49 #49AF93
split-complementary
#6049AF #AF9349 #65AF49
monochromatic
#312559 #483784 #6049AF #8471C4 #A99CD6

Accessibility & contrast

On white

6.84
#6049AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6049AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6049AF
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6049AF#FFFFFF#000000##FFFFFF
##6049AF1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB2
Deuteranopia (green-blind)
#0858AD
Tritanopia (blue-blind)
#486075
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6049af;
/* rgb */ color: rgb(96, 73, 175);
/* oklch */ color: oklch(48.4% 0.156 289.7);
Tailwind
colors: {
  custom: {
    50: '#937cc7',
    500: '#6049af',
    950: '#000000',
  },
}
SCSS
$custom: #6049af;
$custom-light: #937cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6049af",
  "rgb": {
    "r": 96,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 253.529,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48412,
    "c": 0.15574,
    "h": 289.7
  },
  "luminance": 0.10347
}

Semantic roles & 50–950 ramp

primary
#6049AF
secondary
#B7C291
accent
#D157B5
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #6049AF

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

Preview Lab → · Contrast checker → · Palette generator →

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