#6345AD#6345AD

#6345AD is a mid, vivid violet. Relative luminance 0.099; OKLCH L 47.9% C 0.159 H 292.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#6345AD
RGBrgb(99, 69, 173)
HSLhsl(257, 43%, 47%)
HSVhsv(257, 60%, 68%)
CMYKcmyk(42.8%, 60.1%, 0%, 32.2%)
CIE-LABlab(37.71, 37.58, -51.42)
CIE-LCHlch(37.71, 63.69, 306.16°)
OKLaboklab(47.89% 0.0613 -0.1466)
OKLCHoklch(47.89% 0.159 292.7)
XYZxyz(14.8145, 9.9256, 40.6623)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345AD #8FAD45
analogous
#455BAD #6345AD #9745AD
triadic
#6345AD #AD6345 #45AD63
tetradic
#6345AD #AD455B #8FAD45 #45AD97
square
#6345AD #AD455B #8FAD45 #45AD97
split-complementary
#6345AD #AD9745 #5BAD45
monochromatic
#312255 #4A3481 #6345AD #856BC4 #A997D5

Accessibility & contrast

On white

7.03
#6345AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6345AD
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345AD#FFFFFF#000000##FFFFFF
##6345AD1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#0657AB
Tritanopia (blue-blind)
#4F5C72
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6345ad;
/* rgb */ color: rgb(99, 69, 173);
/* oklch */ color: oklch(47.9% 0.159 292.7);
Tailwind
colors: {
  custom: {
    50: '#957ac6',
    500: '#6345ad',
    950: '#000000',
  },
}
SCSS
$custom: #6345ad;
$custom-light: #957ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#6345ad",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 257.308,
    "s": 42.975,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47889,
    "c": 0.15886,
    "h": 292.7
  },
  "luminance": 0.09926
}

Semantic roles & 50–950 ramp

primary
#6345AD
secondary
#B2C18C
accent
#D355AE
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6345AD

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

Preview Lab → · Contrast checker → · Palette generator →

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