#6341D4#6341D4

#6341D4 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.4% C 0.212 H 286.7°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#6341D4
RGBrgb(99, 65, 212)
HSLhsl(254, 63%, 54%)
HSVhsv(254, 69%, 83%)
CMYKcmyk(53.3%, 69.3%, 0%, 16.9%)
CIE-LABlab(39.89, 51.01, -70.68)
CIE-LCHlch(39.89, 87.16, 305.82°)
OKLaboklab(50.41% 0.061 -0.2031)
OKLCHoklch(50.41% 0.212 286.7)
XYZxyz(18.9160, 11.1857, 63.4369)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6341D4 #B2D441
analogous
#4168D4 #6341D4 #AD41D4
triadic
#6341D4 #D46341 #41D463
tetradic
#6341D4 #D44168 #B2D441 #41D4AD
square
#6341D4 #D44168 #B2D441 #41D4AD
split-complementary
#6341D4 #D4AD41 #68D441
monochromatic
#331D7E #4728B0 #6341D4 #8C73DF #B5A5EB

Accessibility & contrast

On white

6.49
#6341D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6341D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6341D4#FFFFFF#000000##FFFFFF
##6341D41.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D8
Deuteranopia (green-blind)
#005AD1
Tritanopia (blue-blind)
#346786
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6341d4;
/* rgb */ color: rgb(99, 65, 212);
/* oklch */ color: oklch(50.4% 0.212 286.7);
Tailwind
colors: {
  custom: {
    50: '#9a78e2',
    500: '#6341d4',
    950: '#000000',
  },
}
SCSS
$custom: #6341d4;
$custom-light: #9a78e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6341d4",
  "rgb": {
    "r": 99,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 253.878,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50407,
    "c": 0.21209,
    "h": 286.7
  },
  "luminance": 0.11187
}

Semantic roles & 50–950 ramp

primary
#6341D4
secondary
#C9D899
accent
#E642C0
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6341D4

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

Preview Lab → · Contrast checker → · Palette generator →

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