#6346DB#6346DB

#6346DB is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.7% C 0.215 H 285.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6346DB
RGBrgb(99, 70, 219)
HSLhsl(252, 67%, 57%)
HSVhsv(252, 68%, 86%)
CMYKcmyk(54.8%, 68%, 0%, 14.1%)
CIE-LABlab(41.45, 50.36, -72.15)
CIE-LCHlch(41.45, 87.99, 304.92°)
OKLaboklab(51.7% 0.0555 -0.2075)
OKLCHoklch(51.7% 0.215 285)
XYZxyz(20.1181, 12.1463, 68.2885)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6346DB #BEDB46
analogous
#4674DB #6346DB #AE46DB
triadic
#6346DB #DB6346 #46DB63
tetradic
#6346DB #DB4674 #BEDB46 #46DBAE
square
#6346DB #DB4674 #BEDB46 #46DBAE
split-complementary
#6346DB #DBAE46 #74DB46
monochromatic
#311B8B #4325BF #6346DB #8E79E5 #B9ACEF

Accessibility & contrast

On white

6.12
#6346DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6346DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6346DB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6346DB#FFFFFF#000000##FFFFFF
##6346DB1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6346db;
/* rgb */ color: rgb(99, 70, 219);
/* oklch */ color: oklch(51.7% 0.215 285.0);
Tailwind
colors: {
  custom: {
    50: '#9b7ce7',
    500: '#6346db',
    950: '#000000',
  },
}
SCSS
$custom: #6346db;
$custom-light: #9b7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6346db",
  "rgb": {
    "r": 99,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 251.678,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51701,
    "c": 0.21477,
    "h": 285
  },
  "luminance": 0.12147
}

Semantic roles & 50–950 ramp

primary
#6346DB
secondary
#D1DDA0
accent
#EA3DC9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6346DB

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

Preview Lab → · Contrast checker → · Palette generator →

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