#572265#572265

#572265 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.0% C 0.122 H 318.7°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#572265
RGBrgb(87, 34, 101)
HSLhsl(287, 50%, 26%)
HSVhsv(287, 66%, 40%)
CMYKcmyk(13.9%, 66.3%, 0%, 60.4%)
CIE-LABlab(24.03, 35.53, -28.80)
CIE-LCHlch(24.03, 45.74, 320.97°)
OKLaboklab(36.04% 0.0915 -0.0805)
OKLCHoklch(36.04% 0.122 318.7)
XYZxyz(6.8512, 4.1102, 12.7419)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572265 #306522
analogous
#362265 #572265 #652252
triadic
#572265 #655722 #226557
tetradic
#572265 #653622 #306522 #225265
square
#572265 #653622 #306522 #225265
split-complementary
#572265 #526522 #226536
monochromatic
#140817 #301337 #572265 #7E3193 #A542BF

Accessibility & contrast

On white

11.53
#572265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#572265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572265
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572265#FFFFFF#000000##FFFFFF
##5722651.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3667
Deuteranopia (green-blind)
#263B63
Tritanopia (blue-blind)
#572D40
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #572265;
/* rgb */ color: rgb(87, 34, 101);
/* oklch */ color: oklch(36.0% 0.122 318.7);
Tailwind
colors: {
  custom: {
    50: '#896191',
    500: '#572265',
    950: '#000000',
  },
}
SCSS
$custom: #572265;
$custom-light: #896191;
$custom-dark: #000000;
JSON
{
  "hex": "#572265",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 287.463,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36037,
    "c": 0.12189,
    "h": 318.7
  },
  "luminance": 0.0411
}

Semantic roles & 50–950 ramp

primary
#572265
secondary
#5A994A
accent
#D94F6C
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0C050D
muted
#7D797D

Preview Lab

Preview with #572265

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

Preview Lab → · Contrast checker → · Palette generator →

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