#56258F#56258F

#56258F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.164 H 299.9°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#56258F
RGBrgb(86, 37, 143)
HSLhsl(268, 59%, 35%)
HSVhsv(268, 74%, 56%)
CMYKcmyk(39.9%, 74.1%, 0%, 43.9%)
CIE-LABlab(27.53, 44.05, -49.82)
CIE-LCHlch(27.53, 66.50, 311.48°)
OKLaboklab(39.49% 0.0818 -0.1422)
OKLCHoklch(39.49% 0.164 299.9)
XYZxyz(9.4560, 5.2846, 26.5031)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56258F #5E8F25
analogous
#25298F #56258F #8B258F
triadic
#56258F #8F5625 #258F56
tetradic
#56258F #8F2529 #5E8F25 #258F8B
square
#56258F #8F2529 #5E8F25 #258F8B
split-complementary
#56258F #8F8B25 #298F25
monochromatic
#1C0C2E #39185E #56258F #7332C0 #935AD4

Accessibility & contrast

On white

10.21
#56258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#56258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56258F
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56258F#FFFFFF#000000##FFFFFF
##56258F1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#493F58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #56258f;
/* rgb */ color: rgb(86, 37, 143);
/* oklch */ color: oklch(39.5% 0.164 299.9);
Tailwind
colors: {
  custom: {
    50: '#8b64b1',
    500: '#56258f',
    950: '#000000',
  },
}
SCSS
$custom: #56258f;
$custom-light: #8b64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#56258f",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 267.736,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39494,
    "c": 0.16408,
    "h": 299.9
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#56258F
secondary
#8CB957
accent
#E2469A
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #56258F

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

Preview Lab → · Contrast checker → · Palette generator →

#56258F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva