#6348B2#6348B2

#6348B2 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.7% C 0.161 H 290.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#6348B2
RGBrgb(99, 72, 178)
HSLhsl(255, 42%, 49%)
HSVhsv(255, 60%, 70%)
CMYKcmyk(44.4%, 59.6%, 0%, 30.2%)
CIE-LABlab(38.73, 37.26, -52.74)
CIE-LCHlch(38.73, 64.57, 305.24°)
OKLaboklab(48.75% 0.0576 -0.1504)
OKLCHoklch(48.75% 0.161 290.9)
XYZxyz(15.4966, 10.5012, 43.3213)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6348B2 #97B248
analogous
#4862B2 #6348B2 #9848B2
triadic
#6348B2 #B26348 #48B263
tetradic
#6348B2 #B24862 #97B248 #48B298
square
#6348B2 #B24862 #97B248 #48B298
split-complementary
#6348B2 #B29848 #62B248
monochromatic
#33255B #4B3686 #6348B2 #8771C6 #AC9DD7

Accessibility & contrast

On white

6.77
#6348B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6348B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6348B2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6348B2#FFFFFF#000000##FFFFFF
##6348B21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#4C6076
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6348b2;
/* rgb */ color: rgb(99, 72, 178);
/* oklch */ color: oklch(48.7% 0.161 290.9);
Tailwind
colors: {
  custom: {
    50: '#957cca',
    500: '#6348b2',
    950: '#000000',
  },
}
SCSS
$custom: #6348b2;
$custom-light: #957cca;
$custom-dark: #000000;
JSON
{
  "hex": "#6348b2",
  "rgb": {
    "r": 99,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 255.283,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48746,
    "c": 0.16109,
    "h": 290.9
  },
  "luminance": 0.10502
}

Semantic roles & 50–950 ramp

primary
#6348B2
secondary
#B7C492
accent
#D256B2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6348B2

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

Preview Lab → · Contrast checker → · Palette generator →

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