#6341AB#6341AB

#6341AB is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.1% C 0.162 H 294.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6341AB
RGBrgb(99, 65, 171)
HSLhsl(259, 45%, 46%)
HSVhsv(259, 62%, 67%)
CMYKcmyk(42.1%, 62%, 0%, 32.9%)
CIE-LABlab(36.69, 39.33, -51.88)
CIE-LCHlch(36.69, 65.10, 307.17°)
OKLaboklab(47.1% 0.0661 -0.1479)
OKLCHoklch(47.1% 0.162 294.1)
XYZxyz(14.3846, 9.3732, 39.5715)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6341AB #89AB41
analogous
#4154AB #6341AB #9841AB
triadic
#6341AB #AB6341 #41AB63
tetradic
#6341AB #AB4154 #89AB41 #41AB98
square
#6341AB #AB4154 #89AB41 #41AB98
split-complementary
#6341AB #AB9841 #54AB41
monochromatic
#301F52 #49307F #6341AB #8365C4 #A791D5

Accessibility & contrast

On white

7.30
#6341AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##6341AB#FFFFFF#000000##FFFFFF
##6341AB1.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#505970
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6341ab;
/* rgb */ color: rgb(99, 65, 171);
/* oklch */ color: oklch(47.1% 0.162 294.1);
Tailwind
colors: {
  custom: {
    50: '#9577c5',
    500: '#6341ab',
    950: '#000000',
  },
}
SCSS
$custom: #6341ab;
$custom-light: #9577c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6341ab",
  "rgb": {
    "r": 99,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 259.245,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47103,
    "c": 0.16198,
    "h": 294.1
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

primary
#6341AB
secondary
#AEC187
accent
#D553AB
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6341AB

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

Preview Lab → · Contrast checker → · Palette generator →

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