#6345AF#6345AF

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

Color values

HEX#6345AF
RGBrgb(99, 69, 175)
HSLhsl(257, 43%, 48%)
HSVhsv(257, 61%, 69%)
CMYKcmyk(43.4%, 60.6%, 0%, 31.4%)
CIE-LABlab(37.85, 38.15, -52.39)
CIE-LCHlch(37.85, 64.81, 306.07°)
OKLaboklab(48.04% 0.0612 -0.1494)
OKLCHoklch(48.04% 0.161 292.3)
XYZxyz(15.0095, 10.0036, 41.6892)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345AF #91AF45
analogous
#455CAF #6345AF #9845AF
triadic
#6345AF #AF6345 #45AF63
tetradic
#6345AF #AF455C #91AF45 #45AF98
square
#6345AF #AF455C #91AF45 #45AF98
split-complementary
#6345AF #AF9845 #5CAF45
monochromatic
#312257 #4A3483 #6345AF #856CC5 #AA98D6

Accessibility & contrast

On white

7.00
#6345AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6345AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345AF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345AF#FFFFFF#000000##FFFFFF
##6345AF1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#4E5D73
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6345af;
/* rgb */ color: rgb(99, 69, 175);
/* oklch */ color: oklch(48.0% 0.161 292.3);
Tailwind
colors: {
  custom: {
    50: '#957ac8',
    500: '#6345af',
    950: '#000000',
  },
}
SCSS
$custom: #6345af;
$custom-light: #957ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#6345af",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 256.981,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48036,
    "c": 0.16145,
    "h": 292.3
  },
  "luminance": 0.10004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6345AF

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

Preview Lab → · Contrast checker → · Palette generator →

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