#6049CA#6049CA

#6049CA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.191 H 285.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#6049CA
RGBrgb(96, 73, 202)
HSLhsl(251, 55%, 54%)
HSVhsv(251, 64%, 79%)
CMYKcmyk(52.5%, 63.9%, 0%, 20.8%)
CIE-LABlab(40.44, 43.15, -64.03)
CIE-LCHlch(40.44, 77.21, 303.98°)
OKLaboklab(50.48% 0.0509 -0.1837)
OKLCHoklch(50.48% 0.191 285.5)
XYZxyz(17.8639, 11.5152, 57.1470)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6049CA #B3CA49
analogous
#4973CA #6049CA #A149CA
triadic
#6049CA #CA6049 #49CA60
tetradic
#6049CA #CA4973 #B3CA49 #49CAA1
square
#6049CA #CA4973 #B3CA49 #49CAA1
split-complementary
#6049CA #CAA149 #73CA49
monochromatic
#312276 #4530A6 #6049CA #8978D8 #B3A8E6

Accessibility & contrast

On white

6.36
#6049CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6049CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6049CA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6049CA#FFFFFF#000000##FFFFFF
##6049CA1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6049ca;
/* rgb */ color: rgb(96, 73, 202);
/* oklch */ color: oklch(50.5% 0.191 285.5);
Tailwind
colors: {
  custom: {
    50: '#967ddb',
    500: '#6049ca',
    950: '#000000',
  },
}
SCSS
$custom: #6049ca;
$custom-light: #967ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#6049ca",
  "rgb": {
    "r": 96,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 250.698,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50482,
    "c": 0.19065,
    "h": 285.5
  },
  "luminance": 0.11516
}

Semantic roles & 50–950 ramp

primary
#6049CA
secondary
#C9D39C
accent
#DE4AC4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6049CA

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

Preview Lab → · Contrast checker → · Palette generator →

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