#6345AE#6345AE

#6345AE is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.0% C 0.160 H 292.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6345AE
RGBrgb(99, 69, 174)
HSLhsl(257, 43%, 48%)
HSVhsv(257, 60%, 68%)
CMYKcmyk(43.1%, 60.3%, 0%, 31.8%)
CIE-LABlab(37.78, 37.87, -51.91)
CIE-LCHlch(37.78, 64.25, 306.11°)
OKLaboklab(47.96% 0.0612 -0.148)
OKLCHoklch(47.96% 0.16 292.5)
XYZxyz(14.9116, 9.9645, 41.1739)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345AE #90AE45
analogous
#455BAE #6345AE #9845AE
triadic
#6345AE #AE6345 #45AE63
tetradic
#6345AE #AE455B #90AE45 #45AE98
square
#6345AE #AE455B #90AE45 #45AE98
split-complementary
#6345AE #AE9845 #5BAE45
monochromatic
#312256 #4A3482 #6345AE #856CC5 #A997D6

Accessibility & contrast

On white

7.02
#6345AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6345AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6345AE
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345AE#FFFFFF#000000##FFFFFF
##6345AE1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#0257AC
Tritanopia (blue-blind)
#4E5C73
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6345ae;
/* rgb */ color: rgb(99, 69, 174);
/* oklch */ color: oklch(48.0% 0.160 292.5);
Tailwind
colors: {
  custom: {
    50: '#957ac7',
    500: '#6345ae',
    950: '#000000',
  },
}
SCSS
$custom: #6345ae;
$custom-light: #957ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#6345ae",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 257.143,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47963,
    "c": 0.16015,
    "h": 292.5
  },
  "luminance": 0.09965
}

Semantic roles & 50–950 ramp

primary
#6345AE
secondary
#B3C28D
accent
#D355AF
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6345AE

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

Preview Lab → · Contrast checker → · Palette generator →

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