#6341CD#6341CD

#6341CD is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.8% C 0.204 H 287.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#6341CD
RGBrgb(99, 65, 205)
HSLhsl(255, 58%, 53%)
HSVhsv(255, 68%, 80%)
CMYKcmyk(51.7%, 68.3%, 0%, 19.6%)
CIE-LABlab(39.31, 49.00, -67.59)
CIE-LCHlch(39.31, 83.48, 305.94°)
OKLaboklab(49.81% 0.0621 -0.1941)
OKLCHoklch(49.81% 0.204 287.8)
XYZxyz(18.0521, 10.8402, 58.8869)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6341CD #ABCD41
analogous
#4165CD #6341CD #A941CD
triadic
#6341CD #CD6341 #41CD63
tetradic
#6341CD #CD4165 #ABCD41 #41CDA9
square
#6341CD #CD4165 #ABCD41 #41CDA9
split-complementary
#6341CD #CDA941 #65CD41
monochromatic
#341F75 #492CA5 #6341CD #8B71DA #B3A2E6

Accessibility & contrast

On white

6.63
#6341CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6341CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6341CD
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6341CD#FFFFFF#000000##FFFFFF
##6341CD1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#3B6582
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6341cd;
/* rgb */ color: rgb(99, 65, 205);
/* oklch */ color: oklch(49.8% 0.204 287.8);
Tailwind
colors: {
  custom: {
    50: '#9978dd',
    500: '#6341cd',
    950: '#000000',
  },
}
SCSS
$custom: #6341cd;
$custom-light: #9978dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6341cd",
  "rgb": {
    "r": 99,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 254.571,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49812,
    "c": 0.20378,
    "h": 287.8
  },
  "luminance": 0.10841
}

Semantic roles & 50–950 ramp

primary
#6341CD
secondary
#C4D397
accent
#E246BC
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6341CD

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

Preview Lab → · Contrast checker → · Palette generator →

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