#6341AA#6341AA

#6341AA is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.0% C 0.161 H 294.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#6341AA
RGBrgb(99, 65, 170)
HSLhsl(259, 45%, 46%)
HSVhsv(259, 62%, 67%)
CMYKcmyk(41.8%, 61.8%, 0%, 33.3%)
CIE-LABlab(36.62, 39.05, -51.40)
CIE-LCHlch(36.62, 64.55, 307.23°)
OKLaboklab(47.03% 0.0661 -0.1465)
OKLCHoklch(47.03% 0.161 294.3)
XYZxyz(14.2897, 9.3352, 39.0714)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6341AA #88AA41
analogous
#4153AA #6341AA #9741AA
triadic
#6341AA #AA6341 #41AA63
tetradic
#6341AA #AA4153 #88AA41 #41AA97
square
#6341AA #AA4153 #88AA41 #41AA97
split-complementary
#6341AA #AA9741 #53AA41
monochromatic
#2F1F51 #49307E #6341AA #8364C4 #A791D5

Accessibility & contrast

On white

7.32
#6341AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6341AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6341AA
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6341AA#FFFFFF#000000##FFFFFF
##6341AA1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#50596F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6341aa;
/* rgb */ color: rgb(99, 65, 170);
/* oklch */ color: oklch(47.0% 0.161 294.3);
Tailwind
colors: {
  custom: {
    50: '#9477c4',
    500: '#6341aa',
    950: '#000000',
  },
}
SCSS
$custom: #6341aa;
$custom-light: #9477c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6341aa",
  "rgb": {
    "r": 99,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 259.429,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47028,
    "c": 0.16071,
    "h": 294.3
  },
  "luminance": 0.09336
}

Semantic roles & 50–950 ramp

primary
#6341AA
secondary
#ADC087
accent
#D453AB
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6341AA

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

Preview Lab → · Contrast checker → · Palette generator →

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