#6345DB#6345DB

#6345DB is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.6% C 0.216 H 285.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6345DB
RGBrgb(99, 69, 219)
HSLhsl(252, 68%, 56%)
HSVhsv(252, 68%, 86%)
CMYKcmyk(54.8%, 68.5%, 0%, 14.1%)
CIE-LABlab(41.25, 50.90, -72.47)
CIE-LCHlch(41.25, 88.56, 305.08°)
OKLaboklab(51.56% 0.0564 -0.2084)
OKLCHoklch(51.56% 0.216 285.1)
XYZxyz(20.0560, 12.0222, 68.2678)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345DB #BDDB45
analogous
#4572DB #6345DB #AE45DB
triadic
#6345DB #DB6345 #45DB63
tetradic
#6345DB #DB4572 #BDDB45 #45DBAE
square
#6345DB #DB4572 #BDDB45 #45DBAE
split-complementary
#6345DB #DBAE45 #72DB45
monochromatic
#311B8B #4325BE #6345DB #8E78E5 #B9ACEF

Accessibility & contrast

On white

6.17
#6345DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6345DB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345DB#FFFFFF#000000##FFFFFF
##6345DB1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#2C6C8B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6345db;
/* rgb */ color: rgb(99, 69, 219);
/* oklch */ color: oklch(51.6% 0.216 285.1);
Tailwind
colors: {
  custom: {
    50: '#9b7be7',
    500: '#6345db',
    950: '#000000',
  },
}
SCSS
$custom: #6345db;
$custom-light: #9b7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6345db",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 252,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5156,
    "c": 0.21589,
    "h": 285.1
  },
  "luminance": 0.12023
}

Semantic roles & 50–950 ramp

primary
#6345DB
secondary
#D0DD9F
accent
#EA3DC8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6345DB

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

Preview Lab → · Contrast checker → · Palette generator →

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