#6343E1#6343E1

#6343E1 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.8% C 0.225 H 284.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6343E1
RGBrgb(99, 67, 225)
HSLhsl(252, 72%, 57%)
HSVhsv(252, 70%, 88%)
CMYKcmyk(56%, 70.2%, 0%, 11.8%)
CIE-LABlab(41.38, 53.70, -75.69)
CIE-LCHlch(41.38, 92.80, 305.35°)
OKLaboklab(51.81% 0.0569 -0.2178)
OKLCHoklch(51.81% 0.225 284.6)
XYZxyz(20.7392, 12.1020, 72.4626)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6343E1 #C1E143
analogous
#4372E1 #6343E1 #B243E1
triadic
#6343E1 #E16343 #43E163
tetradic
#6343E1 #E14372 #C1E143 #43E1B2
square
#6343E1 #E14372 #C1E143 #43E1B2
split-complementary
#6343E1 #E1B243 #72E143
monochromatic
#301792 #4220C7 #6343E1 #8F78E9 #BBADF2

Accessibility & contrast

On white

6.14
#6343E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6343E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6343E1
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6343E1#FFFFFF#000000##FFFFFF
##6343E11.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#246D8D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6343e1;
/* rgb */ color: rgb(99, 67, 225);
/* oklch */ color: oklch(51.8% 0.225 284.6);
Tailwind
colors: {
  custom: {
    50: '#9c7aec',
    500: '#6343e1',
    950: '#000000',
  },
}
SCSS
$custom: #6343e1;
$custom-light: #9c7aec;
$custom-dark: #000000;
JSON
{
  "hex": "#6343e1",
  "rgb": {
    "r": 99,
    "g": 67,
    "b": 225
  },
  "hsl": {
    "h": 252.152,
    "s": 72.477,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51807,
    "c": 0.22515,
    "h": 284.6
  },
  "luminance": 0.12103
}

Semantic roles & 50–950 ramp

primary
#6343E1
secondary
#D3E0A0
accent
#EF39CA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6343E1

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

Preview Lab → · Contrast checker → · Palette generator →

#6343E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva