#6346AA#6346AA

#6346AA is a mid, vivid violet. Relative luminance 0.099; OKLCH L 47.8% C 0.154 H 293.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#6346AA
RGBrgb(99, 70, 170)
HSLhsl(257, 42%, 47%)
HSVhsv(257, 59%, 67%)
CMYKcmyk(41.8%, 58.8%, 0%, 33.3%)
CIE-LABlab(37.73, 36.14, -49.61)
CIE-LCHlch(37.73, 61.38, 306.07°)
OKLaboklab(47.84% 0.0602 -0.1412)
OKLCHoklch(47.84% 0.154 293.1)
XYZxyz(14.5895, 9.9349, 39.1713)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6346AA #8DAA46
analogous
#465BAA #6346AA #9546AA
triadic
#6346AA #AA6346 #46AA63
tetradic
#6346AA #AA465B #8DAA46 #46AA95
square
#6346AA #AA465B #8DAA46 #46AA95
split-complementary
#6346AA #AA9546 #5BAA46
monochromatic
#312253 #4A347F #6346AA #846BC2 #A896D4

Accessibility & contrast

On white

7.03
#6346AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6346AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6346AA
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6346AA#FFFFFF#000000##FFFFFF
##6346AA1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045AAD
Deuteranopia (green-blind)
#1457A8
Tritanopia (blue-blind)
#505C71
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6346aa;
/* rgb */ color: rgb(99, 70, 170);
/* oklch */ color: oklch(47.8% 0.154 293.1);
Tailwind
colors: {
  custom: {
    50: '#947ac4',
    500: '#6346aa',
    950: '#000000',
  },
}
SCSS
$custom: #6346aa;
$custom-light: #947ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#6346aa",
  "rgb": {
    "r": 99,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 257.4,
    "s": 41.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47835,
    "c": 0.15351,
    "h": 293.1
  },
  "luminance": 0.09935
}

Semantic roles & 50–950 ramp

primary
#6346AA
secondary
#B1C08C
accent
#D156AE
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6346AA

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

Preview Lab → · Contrast checker → · Palette generator →

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