#6345AB#6345AB

#6345AB is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.7% C 0.156 H 293.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#6345AB
RGBrgb(99, 69, 171)
HSLhsl(258, 43%, 47%)
HSVhsv(258, 60%, 67%)
CMYKcmyk(42.1%, 59.6%, 0%, 32.9%)
CIE-LABlab(37.57, 37.01, -50.46)
CIE-LCHlch(37.57, 62.58, 306.26°)
OKLaboklab(47.74% 0.0613 -0.1437)
OKLCHoklch(47.74% 0.156 293.1)
XYZxyz(14.6224, 9.8488, 39.6508)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345AB #8DAB45
analogous
#455AAB #6345AB #9645AB
triadic
#6345AB #AB6345 #45AB63
tetradic
#6345AB #AB455A #8DAB45 #45AB96
square
#6345AB #AB455A #8DAB45 #45AB96
split-complementary
#6345AB #AB9645 #5AAB45
monochromatic
#312254 #4A337F #6345AB #846AC3 #A896D5

Accessibility & contrast

On white

7.07
#6345AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6345AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6345AB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345AB#FFFFFF#000000##FFFFFF
##6345AB1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#0E57A9
Tritanopia (blue-blind)
#505B71
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6345ab;
/* rgb */ color: rgb(99, 69, 171);
/* oklch */ color: oklch(47.7% 0.156 293.1);
Tailwind
colors: {
  custom: {
    50: '#947ac5',
    500: '#6345ab',
    950: '#000000',
  },
}
SCSS
$custom: #6345ab;
$custom-light: #947ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#6345ab",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 257.647,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47743,
    "c": 0.15627,
    "h": 293.1
  },
  "luminance": 0.09849
}

Semantic roles & 50–950 ramp

primary
#6345AB
secondary
#B1C08B
accent
#D256AE
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6345AB

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

Preview Lab → · Contrast checker → · Palette generator →

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