#6348CB#6348CB

#6348CB is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.193 H 286.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#6348CB
RGBrgb(99, 72, 203)
HSLhsl(252, 56%, 54%)
HSVhsv(252, 65%, 80%)
CMYKcmyk(51.2%, 64.5%, 0%, 20.4%)
CIE-LABlab(40.57, 44.56, -64.37)
CIE-LCHlch(40.57, 78.29, 304.69°)
OKLaboklab(50.67% 0.0558 -0.1846)
OKLCHoklch(50.67% 0.193 286.8)
XYZxyz(18.2393, 11.5983, 57.7660)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6348CB #B0CB48
analogous
#486FCB #6348CB #A548CB
triadic
#6348CB #CB6348 #48CB63
tetradic
#6348CB #CB486F #B0CB48 #48CBA5
square
#6348CB #CB486F #B0CB48 #48CBA5
split-complementary
#6348CB #CBA548 #6FCB48
monochromatic
#332277 #482FA6 #6348CB #8C78D9 #B4A7E6

Accessibility & contrast

On white

6.33
#6348CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6348CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6348CB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6348CB#FFFFFF#000000##FFFFFF
##6348CB1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#3C6883
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6348cb;
/* rgb */ color: rgb(99, 72, 203);
/* oklch */ color: oklch(50.7% 0.193 286.8);
Tailwind
colors: {
  custom: {
    50: '#987cdc',
    500: '#6348cb',
    950: '#000000',
  },
}
SCSS
$custom: #6348cb;
$custom-light: #987cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6348cb",
  "rgb": {
    "r": 99,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 252.366,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5067,
    "c": 0.19289,
    "h": 286.8
  },
  "luminance": 0.11599
}

Semantic roles & 50–950 ramp

primary
#6348CB
secondary
#C8D39B
accent
#DF49C0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6348CB

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

Preview Lab → · Contrast checker → · Palette generator →

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