#6348AA#6348AA

#6348AA is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.2% C 0.151 H 292.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#6348AA
RGBrgb(99, 72, 170)
HSLhsl(257, 40%, 47%)
HSVhsv(257, 58%, 67%)
CMYKcmyk(41.8%, 57.6%, 0%, 33.3%)
CIE-LABlab(38.18, 34.95, -48.88)
CIE-LCHlch(38.18, 60.09, 305.57°)
OKLaboklab(48.17% 0.0577 -0.1391)
OKLCHoklch(48.17% 0.151 292.5)
XYZxyz(14.7167, 10.1893, 39.2137)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6348AA #8FAA48
analogous
#485EAA #6348AA #9448AA
triadic
#6348AA #AA6348 #48AA63
tetradic
#6348AA #AA485E #8FAA48 #48AA94
square
#6348AA #AA485E #8FAA48 #48AA94
split-complementary
#6348AA #AA9448 #5EAA48
monochromatic
#312454 #4A367F #6348AA #856EC1 #A999D4

Accessibility & contrast

On white

6.91
#6348AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6348AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6348AA#FFFFFF#000000##FFFFFF
##6348AA1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5BAD
Deuteranopia (green-blind)
#1958A8
Tritanopia (blue-blind)
#505D72
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6348aa;
/* rgb */ color: rgb(99, 72, 170);
/* oklch */ color: oklch(48.2% 0.151 292.5);
Tailwind
colors: {
  custom: {
    50: '#947cc4',
    500: '#6348aa',
    950: '#000000',
  },
}
SCSS
$custom: #6348aa;
$custom-light: #947cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6348aa",
  "rgb": {
    "r": 99,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 256.531,
    "s": 40.496,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4817,
    "c": 0.15059,
    "h": 292.5
  },
  "luminance": 0.1019
}

Semantic roles & 50–950 ramp

primary
#6348AA
secondary
#B2C08E
accent
#D057AF
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6348AA

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

Preview Lab → · Contrast checker → · Palette generator →

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