#6047DB#6047DB

#6047DB is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.6% C 0.214 H 283.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6047DB
RGBrgb(96, 71, 219)
HSLhsl(250, 67%, 57%)
HSVhsv(250, 68%, 86%)
CMYKcmyk(56.2%, 67.6%, 0%, 14.1%)
CIE-LABlab(41.38, 49.35, -72.26)
CIE-LCHlch(41.38, 87.50, 304.33°)
OKLaboklab(51.59% 0.0506 -0.2079)
OKLCHoklch(51.59% 0.214 283.7)
XYZxyz(19.8594, 12.1065, 68.2944)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047DB #C2DB47
analogous
#4778DB #6047DB #AA47DB
triadic
#6047DB #DB6047 #47DB60
tetradic
#6047DB #DB4778 #C2DB47 #47DBAA
square
#6047DB #DB4778 #C2DB47 #47DBAA
split-complementary
#6047DB #DBAA47 #78DB47
monochromatic
#2E1B8C #3F25BF #6047DB #8C7AE5 #B8ADEF

Accessibility & contrast

On white

6.14
#6047DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6047DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6047DB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6047DB#FFFFFF#000000##FFFFFF
##6047DB1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6047db;
/* rgb */ color: rgb(96, 71, 219);
/* oklch */ color: oklch(51.6% 0.214 283.7);
Tailwind
colors: {
  custom: {
    50: '#997ce7',
    500: '#6047db',
    950: '#000000',
  },
}
SCSS
$custom: #6047db;
$custom-light: #997ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6047db",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 250.135,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51592,
    "c": 0.21397,
    "h": 283.7
  },
  "luminance": 0.12108
}

Semantic roles & 50–950 ramp

primary
#6047DB
secondary
#D3DDA1
accent
#EA3ECD
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6047DB

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

Preview Lab → · Contrast checker → · Palette generator →

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