#645078#645078

#645078 is a mid, moderate violet. Relative luminance 0.098; OKLCH L 46.8% C 0.068 H 306.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#645078
RGBrgb(100, 80, 120)
HSLhsl(270, 20%, 39%)
HSVhsv(270, 33%, 47%)
CMYKcmyk(16.7%, 33.3%, 0%, 52.9%)
CIE-LABlab(37.49, 16.85, -19.64)
CIE-LCHlch(37.49, 25.88, 310.63°)
OKLaboklab(46.77% 0.0405 -0.054)
OKLCHoklch(46.77% 0.068 306.8)
XYZxyz(11.5137, 9.8028, 19.0512)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645078 #647850
analogous
#505078 #645078 #785078
triadic
#645078 #786450 #507864
tetradic
#645078 #785050 #647850 #507878
square
#645078 #785050 #647850 #507878
split-complementary
#645078 #787850 #507850
monochromatic
#271F2F #453853 #645078 #836A9B #A18EB4

Accessibility & contrast

On white

7.09
#645078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#645078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645078
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645078#FFFFFF#000000##FFFFFF
##6450781.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48577A
Deuteranopia (green-blind)
#4C5877
Tritanopia (blue-blind)
#61565E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #645078;
/* rgb */ color: rgb(100, 80, 120);
/* oklch */ color: oklch(46.8% 0.068 306.8);
Tailwind
colors: {
  custom: {
    50: '#90819f',
    500: '#645078',
    950: '#000000',
  },
}
SCSS
$custom: #645078;
$custom-light: #90819f;
$custom-dark: #000000;
JSON
{
  "hex": "#645078",
  "rgb": {
    "r": 100,
    "g": 80,
    "b": 120
  },
  "hsl": {
    "h": 270,
    "s": 20,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46772,
    "c": 0.06751,
    "h": 306.8
  },
  "luminance": 0.09803
}

Semantic roles & 50–950 ramp

primary
#645078
secondary
#92A183
accent
#BD6B94
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0E
muted
#7D7C7E

Preview Lab

Preview with #645078

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

Preview Lab → · Contrast checker → · Palette generator →

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