#6341CF#6341CF

#6341CF is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.0% C 0.206 H 287.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#6341CF
RGBrgb(99, 65, 207)
HSLhsl(254, 60%, 53%)
HSVhsv(254, 69%, 81%)
CMYKcmyk(52.2%, 68.6%, 0%, 18.8%)
CIE-LABlab(39.47, 49.58, -68.47)
CIE-LCHlch(39.47, 84.54, 305.91°)
OKLaboklab(49.98% 0.0618 -0.1967)
OKLCHoklch(49.98% 0.206 287.4)
XYZxyz(18.2950, 10.9373, 60.1665)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6341CF #ADCF41
analogous
#4166CF #6341CF #AA41CF
triadic
#6341CF #CF6341 #41CF63
tetradic
#6341CF #CF4166 #ADCF41 #41CFAA
square
#6341CF #CF4166 #ADCF41 #41CFAA
split-complementary
#6341CF #CFAA41 #66CF41
monochromatic
#341E77 #492BA8 #6341CF #8B72DB #B3A3E8

Accessibility & contrast

On white

6.59
#6341CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6341CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6341CF
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6341CF#FFFFFF#000000##FFFFFF
##6341CF1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#396683
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6341cf;
/* rgb */ color: rgb(99, 65, 207);
/* oklch */ color: oklch(50.0% 0.206 287.4);
Tailwind
colors: {
  custom: {
    50: '#9978df',
    500: '#6341cf',
    950: '#000000',
  },
}
SCSS
$custom: #6341cf;
$custom-light: #9978df;
$custom-dark: #000000;
JSON
{
  "hex": "#6341cf",
  "rgb": {
    "r": 99,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 254.366,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49981,
    "c": 0.20616,
    "h": 287.4
  },
  "luminance": 0.10938
}

Semantic roles & 50–950 ramp

primary
#6341CF
secondary
#C6D497
accent
#E345BD
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6341CF

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

Preview Lab → · Contrast checker → · Palette generator →

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