#6341E9#6341E9

#6341E9 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.236 H 283.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#6341E9
RGBrgb(99, 65, 233)
HSLhsl(252, 79%, 58%)
HSVhsv(252, 72%, 91%)
CMYKcmyk(57.5%, 72.1%, 0%, 8.6%)
CIE-LABlab(41.71, 57.02, -79.68)
CIE-LCHlch(41.71, 97.98, 305.59°)
OKLaboklab(52.26% 0.0568 -0.2295)
OKLCHoklch(52.26% 0.236 283.9)
XYZxyz(21.7394, 12.3151, 78.3065)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6341E9 #C7E941
analogous
#4173E9 #6341E9 #B741E9
triadic
#6341E9 #E96341 #41E963
tetradic
#6341E9 #E94173 #C7E941 #41E9B7
square
#6341E9 #E94173 #C7E941 #41E9B7
split-complementary
#6341E9 #E9B741 #73E941
monochromatic
#2E129D #3F19D4 #6341E9 #9078EF #BDAFF6

Accessibility & contrast

On white

6.06
#6341E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6341E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6341E9
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6341E9#FFFFFF#000000##FFFFFF
##6341E91.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EE
Deuteranopia (green-blind)
#005DE6
Tritanopia (blue-blind)
#146F91
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6341e9;
/* rgb */ color: rgb(99, 65, 233);
/* oklch */ color: oklch(52.3% 0.236 283.9);
Tailwind
colors: {
  custom: {
    50: '#9d79f1',
    500: '#6341e9',
    950: '#000000',
  },
}
SCSS
$custom: #6341e9;
$custom-light: #9d79f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6341e9",
  "rgb": {
    "r": 99,
    "g": 65,
    "b": 233
  },
  "hsl": {
    "h": 252.143,
    "s": 79.245,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52259,
    "c": 0.23645,
    "h": 283.9
  },
  "luminance": 0.12316
}

Semantic roles & 50–950 ramp

primary
#6341E9
secondary
#D7E4A2
accent
#F632CE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6341E9

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

Preview Lab → · Contrast checker → · Palette generator →

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