#6341AF#6341AF

#6341AF is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.4% C 0.167 H 293.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6341AF
RGBrgb(99, 65, 175)
HSLhsl(259, 46%, 47%)
HSVhsv(259, 63%, 69%)
CMYKcmyk(43.4%, 62.9%, 0%, 31.4%)
CIE-LABlab(36.98, 40.45, -53.79)
CIE-LCHlch(36.98, 67.30, 306.95°)
OKLaboklab(47.4% 0.0658 -0.1535)
OKLCHoklch(47.4% 0.167 293.2)
XYZxyz(14.7716, 9.5280, 41.6099)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6341AF #8DAF41
analogous
#4156AF #6341AF #9A41AF
triadic
#6341AF #AF6341 #41AF63
tetradic
#6341AF #AF4156 #8DAF41 #41AF9A
square
#6341AF #AF4156 #8DAF41 #41AF9A
split-complementary
#6341AF #AF9A41 #56AF41
monochromatic
#312056 #4A3082 #6341AF #8467C6 #A893D7

Accessibility & contrast

On white

7.23
#6341AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6341AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6341AF#FFFFFF#000000##FFFFFF
##6341AF1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#4E5A72
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6341af;
/* rgb */ color: rgb(99, 65, 175);
/* oklch */ color: oklch(47.4% 0.167 293.2);
Tailwind
colors: {
  custom: {
    50: '#9577c8',
    500: '#6341af',
    950: '#000000',
  },
}
SCSS
$custom: #6341af;
$custom-light: #9577c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6341af",
  "rgb": {
    "r": 99,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 258.545,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47404,
    "c": 0.16703,
    "h": 293.2
  },
  "luminance": 0.09528
}

Semantic roles & 50–950 ramp

primary
#6341AF
secondary
#B1C289
accent
#D552AD
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6341AF

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

Preview Lab → · Contrast checker → · Palette generator →

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