#6341C8#6341C8

#6341C8 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.4% C 0.198 H 288.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#6341C8
RGBrgb(99, 65, 200)
HSLhsl(255, 55%, 52%)
HSVhsv(255, 68%, 78%)
CMYKcmyk(50.5%, 67.5%, 0%, 21.6%)
CIE-LABlab(38.90, 47.57, -65.35)
CIE-LCHlch(38.90, 80.83, 306.05°)
OKLaboklab(49.39% 0.0629 -0.1875)
OKLCHoklch(49.39% 0.198 288.6)
XYZxyz(17.4582, 10.6026, 55.7590)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6341C8 #A6C841
analogous
#4163C8 #6341C8 #A741C8
triadic
#6341C8 #C86341 #41C863
tetradic
#6341C8 #C84163 #A6C841 #41C8A7
square
#6341C8 #C84163 #A6C841 #41C8A7
split-complementary
#6341C8 #C8A741 #63C841
monochromatic
#34206F #4A2E9E #6341C8 #8A70D6 #B1A0E3

Accessibility & contrast

On white

6.73
#6341C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6341C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6341C8
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6341C8#FFFFFF#000000##FFFFFF
##6341C81.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#3F637F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6341c8;
/* rgb */ color: rgb(99, 65, 200);
/* oklch */ color: oklch(49.4% 0.198 288.6);
Tailwind
colors: {
  custom: {
    50: '#9878da',
    500: '#6341c8',
    950: '#000000',
  },
}
SCSS
$custom: #6341c8;
$custom-light: #9878da;
$custom-dark: #000000;
JSON
{
  "hex": "#6341c8",
  "rgb": {
    "r": 99,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 255.111,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49394,
    "c": 0.19779,
    "h": 288.6
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

primary
#6341C8
secondary
#C1D095
accent
#DE49B9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6341C8

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

Preview Lab → · Contrast checker → · Palette generator →

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