#6345A2#6345A2

#6345A2 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.1% C 0.145 H 295.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6345A2
RGBrgb(99, 69, 162)
HSLhsl(259, 40%, 45%)
HSVhsv(259, 57%, 64%)
CMYKcmyk(38.9%, 57.4%, 0%, 36.5%)
CIE-LABlab(36.96, 34.47, -46.06)
CIE-LCHlch(36.96, 57.53, 306.81°)
OKLaboklab(47.1% 0.0614 -0.1308)
OKLCHoklch(47.1% 0.145 295.2)
XYZxyz(13.7936, 9.5172, 35.2857)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345A2 #84A245
analogous
#4555A2 #6345A2 #9245A2
triadic
#6345A2 #A26345 #45A263
tetradic
#6345A2 #A24555 #84A245 #45A292
square
#6345A2 #A24555 #84A245 #45A292
split-complementary
#6345A2 #A29245 #55A245
monochromatic
#2F204C #493377 #6345A2 #8366BE #A691D0

Accessibility & contrast

On white

7.23
#6345A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6345A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6345A2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345A2#FFFFFF#000000##FFFFFF
##6345A21.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A5
Deuteranopia (green-blind)
#2056A0
Tritanopia (blue-blind)
#53596D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6345a2;
/* rgb */ color: rgb(99, 69, 162);
/* oklch */ color: oklch(47.1% 0.145 295.2);
Tailwind
colors: {
  custom: {
    50: '#937abe',
    500: '#6345a2',
    950: '#000000',
  },
}
SCSS
$custom: #6345a2;
$custom-light: #937abe;
$custom-dark: #000000;
JSON
{
  "hex": "#6345a2",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 259.355,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47102,
    "c": 0.14451,
    "h": 295.2
  },
  "luminance": 0.09518
}

Semantic roles & 50–950 ramp

primary
#6345A2
secondary
#ABBC87
accent
#D058A9
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #6345A2

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

Preview Lab → · Contrast checker → · Palette generator →

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