#6348CD#6348CD

#6348CD is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.8% C 0.195 H 286.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#6348CD
RGBrgb(99, 72, 205)
HSLhsl(252, 57%, 54%)
HSVhsv(252, 65%, 80%)
CMYKcmyk(51.7%, 64.9%, 0%, 19.6%)
CIE-LABlab(40.73, 45.15, -65.28)
CIE-LCHlch(40.73, 79.37, 304.67°)
OKLaboklab(50.83% 0.0556 -0.1873)
OKLCHoklch(50.83% 0.195 286.5)
XYZxyz(18.4791, 11.6942, 59.0293)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6348CD #B2CD48
analogous
#4870CD #6348CD #A548CD
triadic
#6348CD #CD6348 #48CD63
tetradic
#6348CD #CD4870 #B2CD48 #48CDA5
square
#6348CD #CD4870 #B2CD48 #48CDA5
split-complementary
#6348CD #CDA548 #70CD48
monochromatic
#332179 #472EA9 #6348CD #8C78DA #B5A8E7

Accessibility & contrast

On white

6.29
#6348CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6348CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6348CD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6348CD#FFFFFF#000000##FFFFFF
##6348CD1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#3A6984
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6348cd;
/* rgb */ color: rgb(99, 72, 205);
/* oklch */ color: oklch(50.8% 0.195 286.5);
Tailwind
colors: {
  custom: {
    50: '#987ddd',
    500: '#6348cd',
    950: '#000000',
  },
}
SCSS
$custom: #6348cd;
$custom-light: #987ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#6348cd",
  "rgb": {
    "r": 99,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 252.18,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50831,
    "c": 0.19538,
    "h": 286.5
  },
  "luminance": 0.11695
}

Semantic roles & 50–950 ramp

primary
#6348CD
secondary
#C9D59C
accent
#E047C1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6348CD

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

Preview Lab → · Contrast checker → · Palette generator →

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