#6345E1#6345E1

#6345E1 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.1% C 0.223 H 284.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6345E1
RGBrgb(99, 69, 225)
HSLhsl(252, 72%, 58%)
HSVhsv(252, 69%, 88%)
CMYKcmyk(56%, 69.3%, 0%, 11.8%)
CIE-LABlab(41.76, 52.64, -75.07)
CIE-LCHlch(41.76, 91.69, 305.04°)
OKLaboklab(52.08% 0.0553 -0.216)
OKLCHoklch(52.08% 0.223 284.4)
XYZxyz(20.8602, 12.3439, 72.5030)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345E1 #C3E145
analogous
#4575E1 #6345E1 #B145E1
triadic
#6345E1 #E16345 #45E163
tetradic
#6345E1 #E14575 #C3E145 #45E1B1
square
#6345E1 #E14575 #C3E145 #45E1B1
split-complementary
#6345E1 #E1B145 #75E145
monochromatic
#301894 #4120C8 #6345E1 #8F7AE9 #BBAEF2

Accessibility & contrast

On white

6.05
#6345E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6345E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345E1
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345E1#FFFFFF#000000##FFFFFF
##6345E11.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#246E8E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6345e1;
/* rgb */ color: rgb(99, 69, 225);
/* oklch */ color: oklch(52.1% 0.223 284.4);
Tailwind
colors: {
  custom: {
    50: '#9c7bec',
    500: '#6345e1',
    950: '#000000',
  },
}
SCSS
$custom: #6345e1;
$custom-light: #9c7bec;
$custom-dark: #000000;
JSON
{
  "hex": "#6345e1",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 251.538,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52078,
    "c": 0.22299,
    "h": 284.4
  },
  "luminance": 0.12345
}

Semantic roles & 50–950 ramp

primary
#6345E1
secondary
#D4E0A2
accent
#EF39CC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6345E1

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

Preview Lab → · Contrast checker → · Palette generator →

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