#56309F#56309F

#56309F is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.3% C 0.169 H 293.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#56309F
RGBrgb(86, 48, 159)
HSLhsl(261, 54%, 41%)
HSVhsv(261, 70%, 62%)
CMYKcmyk(45.9%, 69.8%, 0%, 37.6%)
CIE-LABlab(30.87, 42.76, -54.19)
CIE-LCHlch(30.87, 69.02, 308.28°)
OKLaboklab(42.28% 0.0676 -0.1551)
OKLCHoklch(42.28% 0.169 293.5)
XYZxyz(11.1510, 6.5952, 33.4796)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56309F #799F30
analogous
#30419F #56309F #8D309F
triadic
#56309F #9F5630 #309F56
tetradic
#56309F #9F3041 #799F30 #309F8D
square
#56309F #9F3041 #799F30 #309F8D
split-complementary
#56309F #9F8D30 #419F30
monochromatic
#231441 #3D2270 #56309F #7245C7 #9574D5

Accessibility & contrast

On white

9.05
#56309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#56309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56309F
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56309F#FFFFFF#000000##FFFFFF
##56309F1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#414C64
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #56309f;
/* rgb */ color: rgb(86, 48, 159);
/* oklch */ color: oklch(42.3% 0.169 293.5);
Tailwind
colors: {
  custom: {
    50: '#8c6bbc',
    500: '#56309f',
    950: '#000000',
  },
}
SCSS
$custom: #56309f;
$custom-light: #8c6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#56309f",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 260.541,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4228,
    "c": 0.16918,
    "h": 293.5
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#56309F
secondary
#A2BD6E
accent
#DD4BAB
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #56309F

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

Preview Lab → · Contrast checker → · Palette generator →

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