#6348B4#6348B4

#6348B4 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.9% C 0.164 H 290.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#6348B4
RGBrgb(99, 72, 180)
HSLhsl(255, 43%, 49%)
HSVhsv(255, 60%, 71%)
CMYKcmyk(45%, 60%, 0%, 29.4%)
CIE-LABlab(38.87, 37.84, -53.70)
CIE-LCHlch(38.87, 65.69, 305.17°)
OKLaboklab(48.89% 0.0575 -0.1532)
OKLCHoklch(48.89% 0.164 290.6)
XYZxyz(15.6989, 10.5821, 44.3866)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6348B4 #99B448
analogous
#4863B4 #6348B4 #9948B4
triadic
#6348B4 #B46348 #48B463
tetradic
#6348B4 #B44863 #99B448 #48B499
square
#6348B4 #B44863 #99B448 #48B499
split-complementary
#6348B4 #B49948 #63B448
monochromatic
#33255D #4B3788 #6348B4 #8872C7 #AD9ED8

Accessibility & contrast

On white

6.74
#6348B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6348B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6348B4
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6348B4#FFFFFF#000000##FFFFFF
##6348B41.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB8
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#4B6077
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6348b4;
/* rgb */ color: rgb(99, 72, 180);
/* oklch */ color: oklch(48.9% 0.164 290.6);
Tailwind
colors: {
  custom: {
    50: '#957ccb',
    500: '#6348b4',
    950: '#000000',
  },
}
SCSS
$custom: #6348b4;
$custom-light: #957ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#6348b4",
  "rgb": {
    "r": 99,
    "g": 72,
    "b": 180
  },
  "hsl": {
    "h": 255,
    "s": 42.857,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48894,
    "c": 0.16369,
    "h": 290.6
  },
  "luminance": 0.10583
}

Semantic roles & 50–950 ramp

primary
#6348B4
secondary
#B8C593
accent
#D355B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6348B4

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

Preview Lab → · Contrast checker → · Palette generator →

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