#6348CF#6348CF

#6348CF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.198 H 286.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6348CF
RGBrgb(99, 72, 207)
HSLhsl(252, 58%, 55%)
HSVhsv(252, 65%, 81%)
CMYKcmyk(52.2%, 65.2%, 0%, 18.8%)
CIE-LABlab(40.88, 45.74, -66.18)
CIE-LCHlch(40.88, 80.44, 304.65°)
OKLaboklab(50.99% 0.0554 -0.1899)
OKLCHoklch(50.99% 0.198 286.3)
XYZxyz(18.7221, 11.7914, 60.3088)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6348CF #B4CF48
analogous
#4871CF #6348CF #A748CF
triadic
#6348CF #CF6348 #48CF63
tetradic
#6348CF #CF4871 #B4CF48 #48CFA7
square
#6348CF #CF4871 #B4CF48 #48CFA7
split-complementary
#6348CF #CFA748 #71CF48
monochromatic
#33217C #472DAD #6348CF #8C78DC #B6A9E8

Accessibility & contrast

On white

6.25
#6348CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6348CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6348CF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6348CF#FFFFFF#000000##FFFFFF
##6348CF1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#386985
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6348cf;
/* rgb */ color: rgb(99, 72, 207);
/* oklch */ color: oklch(51.0% 0.198 286.3);
Tailwind
colors: {
  custom: {
    50: '#997ddf',
    500: '#6348cf',
    950: '#000000',
  },
}
SCSS
$custom: #6348cf;
$custom-light: #997ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#6348cf",
  "rgb": {
    "r": 99,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 252,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50993,
    "c": 0.19785,
    "h": 286.3
  },
  "luminance": 0.11792
}

Semantic roles & 50–950 ramp

primary
#6348CF
secondary
#CAD69D
accent
#E246C3
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6348CF

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

Preview Lab → · Contrast checker → · Palette generator →

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