#6341CA#6341CA

#6341CA is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.6% C 0.200 H 288.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#6341CA
RGBrgb(99, 65, 202)
HSLhsl(255, 56%, 52%)
HSVhsv(255, 68%, 79%)
CMYKcmyk(51%, 67.8%, 0%, 20.8%)
CIE-LABlab(39.06, 48.14, -66.25)
CIE-LCHlch(39.06, 81.89, 306.01°)
OKLaboklab(49.56% 0.0626 -0.1901)
OKLCHoklch(49.56% 0.2 288.2)
XYZxyz(17.6934, 10.6967, 56.9980)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6341CA #A8CA41
analogous
#4163CA #6341CA #A841CA
triadic
#6341CA #CA6341 #41CA63
tetradic
#6341CA #CA4163 #A8CA41 #41CAA8
square
#6341CA #CA4163 #A8CA41 #41CAA8
split-complementary
#6341CA #CAA841 #63CA41
monochromatic
#342071 #4A2DA1 #6341CA #8A71D7 #B2A1E5

Accessibility & contrast

On white

6.69
#6341CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6341CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6341CA
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6341CA#FFFFFF#000000##FFFFFF
##6341CA1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#3D6480
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6341ca;
/* rgb */ color: rgb(99, 65, 202);
/* oklch */ color: oklch(49.6% 0.200 288.2);
Tailwind
colors: {
  custom: {
    50: '#9878db',
    500: '#6341ca',
    950: '#000000',
  },
}
SCSS
$custom: #6341ca;
$custom-light: #9878db;
$custom-dark: #000000;
JSON
{
  "hex": "#6341ca",
  "rgb": {
    "r": 99,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 254.891,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.4956,
    "c": 0.20019,
    "h": 288.2
  },
  "luminance": 0.10698
}

Semantic roles & 50–950 ramp

primary
#6341CA
secondary
#C2D196
accent
#E048BA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6341CA

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

Preview Lab → · Contrast checker → · Palette generator →

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