#645181#645181

#645181 is a mid, moderate violet. Relative luminance 0.102; OKLCH L 47.4% C 0.079 H 301.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#645181
RGBrgb(100, 81, 129)
HSLhsl(264, 23%, 41%)
HSVhsv(264, 37%, 51%)
CMYKcmyk(22.5%, 37.2%, 0%, 49.4%)
CIE-LABlab(38.16, 18.48, -24.13)
CIE-LCHlch(38.16, 30.40, 307.45°)
OKLaboklab(47.42% 0.0413 -0.0669)
OKLCHoklch(47.42% 0.079 301.7)
XYZxyz(12.1596, 10.1792, 22.0888)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645181 #6E8151
analogous
#515681 #645181 #7C5181
triadic
#645181 #816451 #518164
tetradic
#645181 #815156 #6E8151 #51817C
square
#645181 #815156 #6E8151 #51817C
split-complementary
#645181 #817C51 #568151
monochromatic
#2A2236 #47395B #645181 #826CA3 #A292BA

Accessibility & contrast

On white

6.92
#645181 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#645181 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645181
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645181#FFFFFF#000000##FFFFFF
##6451811.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465A83
Deuteranopia (green-blind)
#4A5A80
Tritanopia (blue-blind)
#5F5963
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #645181;
/* rgb */ color: rgb(100, 81, 129);
/* oklch */ color: oklch(47.4% 0.079 301.7);
Tailwind
colors: {
  custom: {
    50: '#9182a5',
    500: '#645181',
    950: '#000000',
  },
}
SCSS
$custom: #645181;
$custom-light: #9182a5;
$custom-dark: #000000;
JSON
{
  "hex": "#645181",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 263.75,
    "s": 22.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47423,
    "c": 0.07861,
    "h": 301.7
  },
  "luminance": 0.10179
}

Semantic roles & 50–950 ramp

primary
#645181
secondary
#9AA886
accent
#BF689D
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0D0A0F
muted
#7D7C7F

Preview Lab

Preview with #645181

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

Preview Lab → · Contrast checker → · Palette generator →

#645181 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva