#6046DF#6046DF

#6046DF is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.8% C 0.220 H 283.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#6046DF
RGBrgb(96, 70, 223)
HSLhsl(250, 71%, 57%)
HSVhsv(250, 69%, 87%)
CMYKcmyk(57%, 68.6%, 0%, 12.5%)
CIE-LABlab(41.52, 51.08, -74.32)
CIE-LCHlch(41.52, 90.18, 304.50°)
OKLaboklab(51.79% 0.0508 -0.2139)
OKLCHoklch(51.79% 0.22 283.4)
XYZxyz(20.3292, 12.1935, 71.0801)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046DF #C5DF46
analogous
#4679DF #6046DF #AC46DF
triadic
#6046DF #DF6046 #46DF60
tetradic
#6046DF #DF4679 #C5DF46 #46DFAC
square
#6046DF #DF4679 #C5DF46 #46DFAC
split-complementary
#6046DF #DFAC46 #79DF46
monochromatic
#2E1991 #3E22C6 #6046DF #8D7AE8 #BAAEF1

Accessibility & contrast

On white

6.11
#6046DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6046DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6046DF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046DF#FFFFFF#000000##FFFFFF
##6046DF1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#005DDC
Tritanopia (blue-blind)
#1A6E8D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6046df;
/* rgb */ color: rgb(96, 70, 223);
/* oklch */ color: oklch(51.8% 0.220 283.4);
Tailwind
colors: {
  custom: {
    50: '#9a7cea',
    500: '#6046df',
    950: '#000000',
  },
}
SCSS
$custom: #6046df;
$custom-light: #9a7cea;
$custom-dark: #000000;
JSON
{
  "hex": "#6046df",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 250.196,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51794,
    "c": 0.21989,
    "h": 283.4
  },
  "luminance": 0.12195
}

Semantic roles & 50–950 ramp

primary
#6046DF
secondary
#D5DFA2
accent
#ED3BCF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6046DF

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

Preview Lab → · Contrast checker → · Palette generator →

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