#6046DB#6046DB

#6046DB is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.4% C 0.215 H 283.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6046DB
RGBrgb(96, 70, 219)
HSLhsl(250, 67%, 57%)
HSVhsv(250, 68%, 86%)
CMYKcmyk(56.2%, 68%, 0%, 14.1%)
CIE-LABlab(41.19, 49.90, -72.59)
CIE-LCHlch(41.19, 88.08, 304.50°)
OKLaboklab(51.45% 0.0515 -0.2089)
OKLCHoklch(51.45% 0.215 283.8)
XYZxyz(19.7963, 11.9804, 68.2734)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046DB #C1DB46
analogous
#4677DB #6046DB #AB46DB
triadic
#6046DB #DB6046 #46DB60
tetradic
#6046DB #DB4677 #C1DB46 #46DBAB
square
#6046DB #DB4677 #C1DB46 #46DBAB
split-complementary
#6046DB #DBAB46 #77DB46
monochromatic
#2F1B8B #4025BF #6046DB #8C79E5 #B8ACEF

Accessibility & contrast

On white

6.18
#6046DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6046DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6046DB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046DB#FFFFFF#000000##FFFFFF
##6046DB1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#216D8B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6046db;
/* rgb */ color: rgb(96, 70, 219);
/* oklch */ color: oklch(51.4% 0.215 283.8);
Tailwind
colors: {
  custom: {
    50: '#997ce7',
    500: '#6046db',
    950: '#000000',
  },
}
SCSS
$custom: #6046db;
$custom-light: #997ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6046db",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 250.47,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51448,
    "c": 0.21511,
    "h": 283.8
  },
  "luminance": 0.11982
}

Semantic roles & 50–950 ramp

primary
#6046DB
secondary
#D2DDA0
accent
#EA3DCC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6046DB

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

Preview Lab → · Contrast checker → · Palette generator →

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