#6341D2#6341D2

#6341D2 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.2% C 0.210 H 287.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#6341D2
RGBrgb(99, 65, 210)
HSLhsl(254, 62%, 54%)
HSVhsv(254, 69%, 82%)
CMYKcmyk(52.9%, 69%, 0%, 17.6%)
CIE-LABlab(39.72, 50.44, -69.80)
CIE-LCHlch(39.72, 86.11, 305.85°)
OKLaboklab(50.24% 0.0613 -0.2006)
OKLCHoklch(50.24% 0.21 287)
XYZxyz(18.6653, 11.0854, 62.1165)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6341D2 #B0D241
analogous
#4168D2 #6341D2 #AC41D2
triadic
#6341D2 #D26341 #41D263
tetradic
#6341D2 #D24168 #B0D241 #41D2AC
square
#6341D2 #D24168 #B0D241 #41D2AC
split-complementary
#6341D2 #D2AC41 #68D241
monochromatic
#331D7B #4829AD #6341D2 #8C72DE #B4A4E9

Accessibility & contrast

On white

6.53
#6341D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6341D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6341D2#FFFFFF#000000##FFFFFF
##6341D21.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#366785
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6341d2;
/* rgb */ color: rgb(99, 65, 210);
/* oklch */ color: oklch(50.2% 0.210 287.0);
Tailwind
colors: {
  custom: {
    50: '#9a78e1',
    500: '#6341d2',
    950: '#000000',
  },
}
SCSS
$custom: #6341d2;
$custom-light: #9a78e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6341d2",
  "rgb": {
    "r": 99,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 254.069,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50236,
    "c": 0.20973,
    "h": 287
  },
  "luminance": 0.11086
}

Semantic roles & 50–950 ramp

primary
#6341D2
secondary
#C8D698
accent
#E543BF
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6341D2

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

Preview Lab → · Contrast checker → · Palette generator →

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