#6345CD#6345CD

#6345CD is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.4% C 0.199 H 287.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6345CD
RGBrgb(99, 69, 205)
HSLhsl(253, 58%, 54%)
HSVhsv(253, 66%, 80%)
CMYKcmyk(51.7%, 66.3%, 0%, 19.6%)
CIE-LABlab(40.11, 46.82, -66.28)
CIE-LCHlch(40.11, 81.15, 305.24°)
OKLaboklab(50.39% 0.0585 -0.1903)
OKLCHoklch(50.39% 0.199 287.1)
XYZxyz(18.2899, 11.3158, 58.9662)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345CD #AFCD45
analogous
#456BCD #6345CD #A745CD
triadic
#6345CD #CD6345 #45CD63
tetradic
#6345CD #CD456B #AFCD45 #45CDA7
square
#6345CD #CD456B #AFCD45 #45CDA7
split-complementary
#6345CD #CDA745 #6BCD45
monochromatic
#332077 #482DA8 #6345CD #8B75DA #B4A5E7

Accessibility & contrast

On white

6.44
#6345CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6345CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345CD
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345CD#FFFFFF#000000##FFFFFF
##6345CD1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#3A6783
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6345cd;
/* rgb */ color: rgb(99, 69, 205);
/* oklch */ color: oklch(50.4% 0.199 287.1);
Tailwind
colors: {
  custom: {
    50: '#997bdd',
    500: '#6345cd',
    950: '#000000',
  },
}
SCSS
$custom: #6345cd;
$custom-light: #997bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6345cd",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 253.235,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50385,
    "c": 0.19904,
    "h": 287.1
  },
  "luminance": 0.11317
}

Semantic roles & 50–950 ramp

primary
#6345CD
secondary
#C7D49A
accent
#E147BF
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6345CD

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

Preview Lab → · Contrast checker → · Palette generator →

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