#6341D9#6341D9

#6341D9 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.8% C 0.218 H 286.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#6341D9
RGBrgb(99, 65, 217)
HSLhsl(253, 67%, 55%)
HSVhsv(253, 70%, 85%)
CMYKcmyk(54.4%, 70%, 0%, 14.9%)
CIE-LABlab(40.31, 52.44, -72.86)
CIE-LCHlch(40.31, 89.77, 305.75°)
OKLaboklab(50.84% 0.06 -0.2095)
OKLCHoklch(50.84% 0.218 286)
XYZxyz(19.5565, 11.4419, 66.8102)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6341D9 #B7D941
analogous
#416BD9 #6341D9 #AF41D9
triadic
#6341D9 #D96341 #41D963
tetradic
#6341D9 #D9416B #B7D941 #41D9AF
square
#6341D9 #D9416B #B7D941 #41D9AF
split-complementary
#6341D9 #D9AF41 #6BD941
monochromatic
#321B85 #4625B8 #6341D9 #8D74E3 #B7A7ED

Accessibility & contrast

On white

6.39
#6341D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6341D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6341D9
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6341D9#FFFFFF#000000##FFFFFF
##6341D91.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DE
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#2F6988
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6341d9;
/* rgb */ color: rgb(99, 65, 217);
/* oklch */ color: oklch(50.8% 0.218 286.0);
Tailwind
colors: {
  custom: {
    50: '#9b79e6',
    500: '#6341d9',
    950: '#000000',
  },
}
SCSS
$custom: #6341d9;
$custom-light: #9b79e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6341d9",
  "rgb": {
    "r": 99,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 253.421,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5084,
    "c": 0.21797,
    "h": 286
  },
  "luminance": 0.11443
}

Semantic roles & 50–950 ramp

primary
#6341D9
secondary
#CCDB9B
accent
#EA3EC3
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6341D9

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

Preview Lab → · Contrast checker → · Palette generator →

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