#563274#563274

#563274 is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.3% C 0.112 H 307.2°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#563274
RGBrgb(86, 50, 116)
HSLhsl(273, 40%, 33%)
HSVhsv(273, 57%, 45%)
CMYKcmyk(25.9%, 56.9%, 0%, 54.5%)
CIE-LABlab(28.17, 29.92, -31.87)
CIE-LCHlch(28.17, 43.71, 313.19°)
OKLaboklab(39.34% 0.0679 -0.0896)
OKLCHoklch(39.34% 0.112 307.2)
XYZxyz(8.1301, 5.5207, 17.1569)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563274 #507432
analogous
#353274 #563274 #743271
triadic
#563274 #745632 #327456
tetradic
#563274 #743532 #507432 #327174
square
#563274 #743532 #507432 #327174
split-complementary
#563274 #717432 #327435
monochromatic
#170D1E #362049 #563274 #76449F #9464BC

Accessibility & contrast

On white

9.98
#563274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#563274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563274
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563274#FFFFFF#000000##FFFFFF
##5632741.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4176
Deuteranopia (green-blind)
#294372
Tritanopia (blue-blind)
#513E4E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #563274;
/* rgb */ color: rgb(86, 50, 116);
/* oklch */ color: oklch(39.3% 0.112 307.2);
Tailwind
colors: {
  custom: {
    50: '#886b9c',
    500: '#563274',
    950: '#000000',
  },
}
SCSS
$custom: #563274;
$custom-light: #886b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#563274",
  "rgb": {
    "r": 86,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 272.727,
    "s": 39.759,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39335,
    "c": 0.11243,
    "h": 307.2
  },
  "luminance": 0.05521
}

Semantic roles & 50–950 ramp

primary
#563274
secondary
#7EA45E
accent
#D0588E
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #563274

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

Preview Lab → · Contrast checker → · Palette generator →

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