#504265#504265

#504265 is a dark, muted violet. Relative luminance 0.065; OKLCH L 40.8% C 0.060 H 302.2°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#504265
RGBrgb(80, 66, 101)
HSLhsl(264, 21%, 33%)
HSVhsv(264, 35%, 40%)
CMYKcmyk(20.8%, 34.7%, 0%, 60.4%)
CIE-LABlab(30.74, 13.99, -18.33)
CIE-LCHlch(30.74, 23.06, 307.36°)
OKLaboklab(40.84% 0.0318 -0.0506)
OKLCHoklch(40.84% 0.06 302.2)
XYZxyz(7.6050, 6.5415, 13.1714)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504265 #576542
analogous
#424565 #504265 #614265
triadic
#504265 #655042 #426550
tetradic
#504265 #654245 #576542 #426561
square
#504265 #654245 #576542 #426561
split-complementary
#504265 #656142 #456542
monochromatic
#15121B #332A40 #504265 #6D5A8A #8C7AA8

Accessibility & contrast

On white

9.10
#504265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#504265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504265
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504265#FFFFFF#000000##FFFFFF
##5042651.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4866
Deuteranopia (green-blind)
#3D4864
Tritanopia (blue-blind)
#4D474F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #504265;
/* rgb */ color: rgb(80, 66, 101);
/* oklch */ color: oklch(40.8% 0.060 302.2);
Tailwind
colors: {
  custom: {
    50: '#817691',
    500: '#504265',
    950: '#000000',
  },
}
SCSS
$custom: #504265;
$custom-light: #817691;
$custom-dark: #000000;
JSON
{
  "hex": "#504265",
  "rgb": {
    "r": 80,
    "g": 66,
    "b": 101
  },
  "hsl": {
    "h": 264,
    "s": 20.958,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40842,
    "c": 0.05977,
    "h": 302.2
  },
  "luminance": 0.06541
}

Semantic roles & 50–950 ramp

primary
#504265
secondary
#85946F
accent
#BE6A9C
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #504265

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

Preview Lab → · Contrast checker → · Palette generator →

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