#6341D5#6341D5

#6341D5 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.5% C 0.213 H 286.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6341D5
RGBrgb(99, 65, 213)
HSLhsl(254, 64%, 55%)
HSVhsv(254, 69%, 84%)
CMYKcmyk(53.5%, 69.5%, 0%, 16.5%)
CIE-LABlab(39.98, 51.30, -71.11)
CIE-LCHlch(39.98, 87.69, 305.80°)
OKLaboklab(50.49% 0.0608 -0.2044)
OKLCHoklch(50.49% 0.213 286.6)
XYZxyz(19.0425, 11.2363, 64.1033)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6341D5 #B3D541
analogous
#4169D5 #6341D5 #AD41D5
triadic
#6341D5 #D56341 #41D563
tetradic
#6341D5 #D54169 #B3D541 #41D5AD
square
#6341D5 #D54169 #B3D541 #41D5AD
split-complementary
#6341D5 #D5AD41 #69D541
monochromatic
#331C7F #4727B2 #6341D5 #8C73E0 #B5A5EB

Accessibility & contrast

On white

6.47
#6341D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6341D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6341D5#FFFFFF#000000##FFFFFF
##6341D51.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D9
Deuteranopia (green-blind)
#005AD2
Tritanopia (blue-blind)
#336886
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6341d5;
/* rgb */ color: rgb(99, 65, 213);
/* oklch */ color: oklch(50.5% 0.213 286.6);
Tailwind
colors: {
  custom: {
    50: '#9a78e3',
    500: '#6341d5',
    950: '#000000',
  },
}
SCSS
$custom: #6341d5;
$custom-light: #9a78e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6341d5",
  "rgb": {
    "r": 99,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 253.784,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50493,
    "c": 0.21327,
    "h": 286.6
  },
  "luminance": 0.11237
}

Semantic roles & 50–950 ramp

primary
#6341D5
secondary
#CAD89A
accent
#E741C1
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6341D5

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

Preview Lab → · Contrast checker → · Palette generator →

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