#6046D5#6046D5

#6046D5 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 50.9% C 0.208 H 284.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#6046D5
RGBrgb(96, 70, 213)
HSLhsl(251, 63%, 55%)
HSVhsv(251, 67%, 84%)
CMYKcmyk(54.9%, 67.1%, 0%, 16.5%)
CIE-LABlab(40.69, 48.12, -69.96)
CIE-LCHlch(40.69, 84.91, 304.52°)
OKLaboklab(50.94% 0.0524 -0.2011)
OKLCHoklch(50.94% 0.208 284.6)
XYZxyz(19.0206, 11.6701, 64.1882)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046D5 #BBD546
analogous
#4673D5 #6046D5 #A746D5
triadic
#6046D5 #D56046 #46D560
tetradic
#6046D5 #D54673 #BBD546 #46D5A7
square
#6046D5 #D54673 #BBD546 #46D5A7
split-complementary
#6046D5 #D5A746 #73D546
monochromatic
#301E83 #4229B5 #6046D5 #8B78E0 #B6AAEC

Accessibility & contrast

On white

6.30
#6046D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6046D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6046D5
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046D5#FFFFFF#000000##FFFFFF
##6046D51.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#005BD2
Tritanopia (blue-blind)
#2A6B88
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6046d5;
/* rgb */ color: rgb(96, 70, 213);
/* oklch */ color: oklch(50.9% 0.208 284.6);
Tailwind
colors: {
  custom: {
    50: '#987be3',
    500: '#6046d5',
    950: '#000000',
  },
}
SCSS
$custom: #6046d5;
$custom-light: #987be3;
$custom-dark: #000000;
JSON
{
  "hex": "#6046d5",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 250.909,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50937,
    "c": 0.20785,
    "h": 284.6
  },
  "luminance": 0.11671
}

Semantic roles & 50–950 ramp

primary
#6046D5
secondary
#CED99E
accent
#E642C8
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6046D5

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

Preview Lab → · Contrast checker → · Palette generator →

#6046D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva