#6341E7#6341E7

#6341E7 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.234 H 284.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6341E7
RGBrgb(99, 65, 231)
HSLhsl(252, 78%, 58%)
HSVhsv(252, 72%, 91%)
CMYKcmyk(57.1%, 71.9%, 0%, 9.4%)
CIE-LABlab(41.53, 56.45, -78.84)
CIE-LCHlch(41.53, 96.97, 305.60°)
OKLaboklab(52.08% 0.0572 -0.2271)
OKLCHoklch(52.08% 0.234 284.1)
XYZxyz(21.4553, 12.2014, 76.8104)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6341E7 #C5E741
analogous
#4172E7 #6341E7 #B641E7
triadic
#6341E7 #E76341 #41E763
tetradic
#6341E7 #E74172 #C5E741 #41E7B6
square
#6341E7 #E74172 #C5E741 #41E7B6
split-complementary
#6341E7 #E7B641 #72E741
monochromatic
#2F139A #401AD0 #6341E7 #9077EE #BCAEF5

Accessibility & contrast

On white

6.10
#6341E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6341E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6341E7
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6341E7#FFFFFF#000000##FFFFFF
##6341E71.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EC
Deuteranopia (green-blind)
#005DE4
Tritanopia (blue-blind)
#196E90
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6341e7;
/* rgb */ color: rgb(99, 65, 231);
/* oklch */ color: oklch(52.1% 0.234 284.1);
Tailwind
colors: {
  custom: {
    50: '#9d79f0',
    500: '#6341e7',
    950: '#000000',
  },
}
SCSS
$custom: #6341e7;
$custom-light: #9d79f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6341e7",
  "rgb": {
    "r": 99,
    "g": 65,
    "b": 231
  },
  "hsl": {
    "h": 252.289,
    "s": 77.57,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52079,
    "c": 0.23417,
    "h": 284.1
  },
  "luminance": 0.12203
}

Semantic roles & 50–950 ramp

primary
#6341E7
secondary
#D5E3A1
accent
#F434CD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6341E7

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

Preview Lab → · Contrast checker → · Palette generator →

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