#5D3094#5D3094

#5D3094 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.2% C 0.157 H 300.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#5D3094
RGBrgb(93, 48, 148)
HSLhsl(267, 51%, 38%)
HSVhsv(267, 68%, 58%)
CMYKcmyk(37.2%, 67.6%, 0%, 42%)
CIE-LABlab(30.83, 41.19, -47.50)
CIE-LCHlch(30.83, 62.87, 310.92°)
OKLaboklab(42.17% 0.0794 -0.1352)
OKLCHoklch(42.17% 0.157 300.4)
XYZxyz(10.9151, 6.5791, 28.7061)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3094 #679430
analogous
#303594 #5D3094 #8F3094
triadic
#5D3094 #945D30 #30945D
tetradic
#5D3094 #943035 #679430 #30948F
square
#5D3094 #943035 #679430 #30948F
split-complementary
#5D3094 #948F30 #359430
monochromatic
#231238 #402166 #5D3094 #7A40C1 #9A6ED0

Accessibility & contrast

On white

9.07
#5D3094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#5D3094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3094
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3094#FFFFFF#000000##FFFFFF
##5D30941.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#51475E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5d3094;
/* rgb */ color: rgb(93, 48, 148);
/* oklch */ color: oklch(42.2% 0.157 300.4);
Tailwind
colors: {
  custom: {
    50: '#8f6bb4',
    500: '#5d3094',
    950: '#000000',
  },
}
SCSS
$custom: #5d3094;
$custom-light: #8f6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3094",
  "rgb": {
    "r": 93,
    "g": 48,
    "b": 148
  },
  "hsl": {
    "h": 267,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42169,
    "c": 0.15679,
    "h": 300.4
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#5D3094
secondary
#94B868
accent
#DA4D9B
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5D3094

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

Preview Lab → · Contrast checker → · Palette generator →

#5D3094 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva