#6348D9#6348D9

#6348D9 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 51.8% C 0.210 H 284.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#6348D9
RGBrgb(99, 72, 217)
HSLhsl(251, 66%, 57%)
HSVhsv(251, 67%, 85%)
CMYKcmyk(54.4%, 66.8%, 0%, 14.9%)
CIE-LABlab(41.68, 48.68, -70.62)
CIE-LCHlch(41.68, 85.77, 304.58°)
OKLaboklab(51.82% 0.0541 -0.203)
OKLCHoklch(51.82% 0.21 284.9)
XYZxyz(19.9836, 12.2960, 66.9526)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6348D9 #BED948
analogous
#4876D9 #6348D9 #AB48D9
triadic
#6348D9 #D96348 #48D963
tetradic
#6348D9 #D94876 #BED948 #48D9AB
square
#6348D9 #D94876 #BED948 #48D9AB
split-complementary
#6348D9 #D9AB48 #76D948
monochromatic
#311D8A #4327BD #6348D9 #8E7BE4 #B9ADEE

Accessibility & contrast

On white

6.07
#6348D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6348D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6348D9
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6348D9#FFFFFF#000000##FFFFFF
##6348D91.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#2E6D8B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6348d9;
/* rgb */ color: rgb(99, 72, 217);
/* oklch */ color: oklch(51.8% 0.210 284.9);
Tailwind
colors: {
  custom: {
    50: '#9a7de6',
    500: '#6348d9',
    950: '#000000',
  },
}
SCSS
$custom: #6348d9;
$custom-light: #9a7de6;
$custom-dark: #000000;
JSON
{
  "hex": "#6348d9",
  "rgb": {
    "r": 99,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 251.172,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51819,
    "c": 0.21007,
    "h": 284.9
  },
  "luminance": 0.12297
}

Semantic roles & 50–950 ramp

primary
#6348D9
secondary
#D1DCA1
accent
#E93FC9
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6348D9

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

Preview Lab → · Contrast checker → · Palette generator →

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