#6341CB#6341CB

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

Color values

HEX#6341CB
RGBrgb(99, 65, 203)
HSLhsl(255, 57%, 53%)
HSVhsv(255, 68%, 80%)
CMYKcmyk(51.2%, 68%, 0%, 20.4%)
CIE-LABlab(39.15, 48.43, -66.69)
CIE-LCHlch(39.15, 82.42, 305.99°)
OKLaboklab(49.64% 0.0625 -0.1915)
OKLCHoklch(49.64% 0.201 288.1)
XYZxyz(17.8122, 10.7442, 57.6236)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6341CB #A9CB41
analogous
#4164CB #6341CB #A841CB
triadic
#6341CB #CB6341 #41CB63
tetradic
#6341CB #CB4164 #A9CB41 #41CBA8
square
#6341CB #CB4164 #A9CB41 #41CBA8
split-complementary
#6341CB #CBA841 #64CB41
monochromatic
#341F72 #492CA2 #6341CB #8A71D8 #B2A1E5

Accessibility & contrast

On white

6.67
#6341CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#6341CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6341CB
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6341CB#FFFFFF#000000##FFFFFF
##6341CB1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#3C6481
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6341cb;
/* rgb */ color: rgb(99, 65, 203);
/* oklch */ color: oklch(49.6% 0.201 288.1);
Tailwind
colors: {
  custom: {
    50: '#9978dc',
    500: '#6341cb',
    950: '#000000',
  },
}
SCSS
$custom: #6341cb;
$custom-light: #9978dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6341cb",
  "rgb": {
    "r": 99,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 254.783,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49644,
    "c": 0.20139,
    "h": 288.1
  },
  "luminance": 0.10745
}

Semantic roles & 50–950 ramp

primary
#6341CB
secondary
#C3D296
accent
#E048BB
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6341CB

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

Preview Lab → · Contrast checker → · Palette generator →

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