#6046D3#6046D3

#6046D3 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 50.8% C 0.205 H 284.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6046D3
RGBrgb(96, 70, 211)
HSLhsl(251, 62%, 55%)
HSVhsv(251, 67%, 83%)
CMYKcmyk(54.5%, 66.8%, 0%, 17.3%)
CIE-LABlab(40.52, 47.53, -69.08)
CIE-LCHlch(40.52, 83.85, 304.53°)
OKLaboklab(50.77% 0.0527 -0.1986)
OKLCHoklch(50.77% 0.205 284.9)
XYZxyz(18.7683, 11.5692, 62.8595)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046D3 #B9D346
analogous
#4672D3 #6046D3 #A746D3
triadic
#6046D3 #D36046 #46D360
tetradic
#6046D3 #D34672 #B9D346 #46D3A7
square
#6046D3 #D34672 #B9D346 #46D3A7
split-complementary
#6046D3 #D3A746 #72D346
monochromatic
#301E80 #432AB2 #6046D3 #8A77DF #B5A9EB

Accessibility & contrast

On white

6.34
#6046D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6046D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6046D3
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046D3#FFFFFF#000000##FFFFFF
##6046D31.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#005BD0
Tritanopia (blue-blind)
#2C6A87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6046d3;
/* rgb */ color: rgb(96, 70, 211);
/* oklch */ color: oklch(50.8% 0.205 284.9);
Tailwind
colors: {
  custom: {
    50: '#987be2',
    500: '#6046d3',
    950: '#000000',
  },
}
SCSS
$custom: #6046d3;
$custom-light: #987be2;
$custom-dark: #000000;
JSON
{
  "hex": "#6046d3",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 211
  },
  "hsl": {
    "h": 251.064,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50768,
    "c": 0.20542,
    "h": 284.9
  },
  "luminance": 0.1157
}

Semantic roles & 50–950 ramp

primary
#6046D3
secondary
#CDD89D
accent
#E543C7
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #6046D3

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

Preview Lab → · Contrast checker → · Palette generator →

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