#6341EA#6341EA

#6341EA is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.3% C 0.238 H 283.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#6341EA
RGBrgb(99, 65, 234)
HSLhsl(252, 80%, 59%)
HSVhsv(252, 72%, 92%)
CMYKcmyk(57.7%, 72.2%, 0%, 8.2%)
CIE-LABlab(41.80, 57.30, -80.10)
CIE-LCHlch(41.80, 98.49, 305.58°)
OKLaboklab(52.35% 0.0566 -0.2308)
OKLCHoklch(52.35% 0.238 283.8)
XYZxyz(21.8826, 12.3724, 79.0610)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6341EA #C8EA41
analogous
#4173EA #6341EA #B741EA
triadic
#6341EA #EA6341 #41EA63
tetradic
#6341EA #EA4173 #C8EA41 #41EAB7
square
#6341EA #EA4173 #C8EA41 #41EAB7
split-complementary
#6341EA #EAB741 #73EA41
monochromatic
#2E129F #3E18D6 #6341EA #9078F0 #BDAFF6

Accessibility & contrast

On white

6.04
#6341EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6341EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6341EA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6341EA#FFFFFF#000000##FFFFFF
##6341EA1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EF
Deuteranopia (green-blind)
#005DE7
Tritanopia (blue-blind)
#117092
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6341ea;
/* rgb */ color: rgb(99, 65, 234);
/* oklch */ color: oklch(52.3% 0.238 283.8);
Tailwind
colors: {
  custom: {
    50: '#9d79f2',
    500: '#6341ea',
    950: '#000000',
  },
}
SCSS
$custom: #6341ea;
$custom-light: #9d79f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6341ea",
  "rgb": {
    "r": 99,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 252.071,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52349,
    "c": 0.2376,
    "h": 283.8
  },
  "luminance": 0.12374
}

Semantic roles & 50–950 ramp

primary
#6341EA
secondary
#D7E5A2
accent
#F731CF
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6341EA

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

Preview Lab → · Contrast checker → · Palette generator →

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