#6341B2#6341B2

#6341B2 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.171 H 292.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#6341B2
RGBrgb(99, 65, 178)
HSLhsl(258, 47%, 48%)
HSVhsv(258, 63%, 70%)
CMYKcmyk(44.4%, 63.5%, 0%, 30.2%)
CIE-LABlab(37.20, 41.30, -55.21)
CIE-LCHlch(37.20, 68.95, 306.80°)
OKLaboklab(47.63% 0.0656 -0.1577)
OKLCHoklch(47.63% 0.171 292.6)
XYZxyz(15.0696, 9.6471, 43.1789)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6341B2 #90B241
analogous
#4158B2 #6341B2 #9B41B2
triadic
#6341B2 #B26341 #41B263
tetradic
#6341B2 #B24158 #90B241 #41B29B
square
#6341B2 #B24158 #90B241 #41B29B
split-complementary
#6341B2 #B29B41 #58B241
monochromatic
#312058 #4A3185 #6341B2 #8568C8 #A995D8

Accessibility & contrast

On white

7.17
#6341B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6341B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6341B2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6341B2#FFFFFF#000000##FFFFFF
##6341B21.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#4C5B73
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6341b2;
/* rgb */ color: rgb(99, 65, 178);
/* oklch */ color: oklch(47.6% 0.171 292.6);
Tailwind
colors: {
  custom: {
    50: '#9577ca',
    500: '#6341b2',
    950: '#000000',
  },
}
SCSS
$custom: #6341b2;
$custom-light: #9577ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6341b2",
  "rgb": {
    "r": 99,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 258.053,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47633,
    "c": 0.17079,
    "h": 292.6
  },
  "luminance": 0.09648
}

Semantic roles & 50–950 ramp

primary
#6341B2
secondary
#B3C48B
accent
#D652AE
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6341B2

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

Preview Lab → · Contrast checker → · Palette generator →

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