#6341C2#6341C2

#6341C2 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.9% C 0.191 H 289.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#6341C2
RGBrgb(99, 65, 194)
HSLhsl(256, 51%, 51%)
HSVhsv(256, 66%, 76%)
CMYKcmyk(49%, 66.5%, 0%, 23.9%)
CIE-LABlab(38.42, 45.85, -62.63)
CIE-LCHlch(38.42, 77.63, 306.21°)
OKLaboklab(48.9% 0.0638 -0.1795)
OKLCHoklch(48.9% 0.191 289.6)
XYZxyz(16.7707, 10.3276, 52.1382)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6341C2 #A0C241
analogous
#415FC2 #6341C2 #A341C2
triadic
#6341C2 #C26341 #41C263
tetradic
#6341C2 #C2415F #A0C241 #41C2A3
square
#6341C2 #C2415F #A0C241 #41C2A3
split-complementary
#6341C2 #C2A341 #5FC241
monochromatic
#342167 #4B3096 #6341C2 #896FD1 #AF9EE0

Accessibility & contrast

On white

6.85
#6341C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6341C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6341C2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6341C2#FFFFFF#000000##FFFFFF
##6341C21.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#43617C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6341c2;
/* rgb */ color: rgb(99, 65, 194);
/* oklch */ color: oklch(48.9% 0.191 289.6);
Tailwind
colors: {
  custom: {
    50: '#9778d5',
    500: '#6341c2',
    950: '#000000',
  },
}
SCSS
$custom: #6341c2;
$custom-light: #9778d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6341c2",
  "rgb": {
    "r": 99,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 255.814,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.489,
    "c": 0.19052,
    "h": 289.6
  },
  "luminance": 0.10328
}

Semantic roles & 50–950 ramp

primary
#6341C2
secondary
#BDCC93
accent
#DB4DB5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6341C2

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

Preview Lab → · Contrast checker → · Palette generator →

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