#6349D9#6349D9

#6349D9 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.0% C 0.209 H 284.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#6349D9
RGBrgb(99, 73, 217)
HSLhsl(251, 65%, 57%)
HSVhsv(251, 66%, 85%)
CMYKcmyk(54.4%, 66.4%, 0%, 14.9%)
CIE-LABlab(41.89, 48.13, -70.29)
CIE-LCHlch(41.89, 85.19, 304.40°)
OKLaboklab(51.97% 0.0532 -0.202)
OKLCHoklch(51.97% 0.209 284.7)
XYZxyz(20.0487, 12.4263, 66.9743)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6349D9 #BFD949
analogous
#4977D9 #6349D9 #AB49D9
triadic
#6349D9 #D96349 #49D963
tetradic
#6349D9 #D94977 #BFD949 #49D9AB
square
#6349D9 #D94977 #BFD949 #49D9AB
split-complementary
#6349D9 #D9AB49 #77D949
monochromatic
#311D8B #4328BD #6349D9 #8E7CE4 #BAAEEE

Accessibility & contrast

On white

6.03
#6349D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6349D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6349D9
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6349D9#FFFFFF#000000##FFFFFF
##6349D91.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#2E6E8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6349d9;
/* rgb */ color: rgb(99, 73, 217);
/* oklch */ color: oklch(52.0% 0.209 284.7);
Tailwind
colors: {
  custom: {
    50: '#9a7ee6',
    500: '#6349d9',
    950: '#000000',
  },
}
SCSS
$custom: #6349d9;
$custom-light: #9a7ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#6349d9",
  "rgb": {
    "r": 99,
    "g": 73,
    "b": 217
  },
  "hsl": {
    "h": 250.833,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51965,
    "c": 0.20889,
    "h": 284.7
  },
  "luminance": 0.12427
}

Semantic roles & 50–950 ramp

primary
#6349D9
secondary
#D2DCA2
accent
#E83FCA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6349D9

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

Preview Lab → · Contrast checker → · Palette generator →

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