#531074#531074

#531074 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.7% C 0.158 H 310.7°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#531074
RGBrgb(83, 16, 116)
HSLhsl(280, 76%, 26%)
HSVhsv(280, 86%, 45%)
CMYKcmyk(28.4%, 86.2%, 0%, 54.5%)
CIE-LABlab(21.84, 45.53, -42.09)
CIE-LCHlch(21.84, 62.00, 317.25°)
OKLaboklab(34.7% 0.1029 -0.1195)
OKLCHoklch(34.7% 0.158 310.7)
XYZxyz(6.9043, 3.4707, 16.8258)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531074 #317410
analogous
#211074 #531074 #741063
triadic
#531074 #745310 #107453
tetradic
#531074 #742110 #317410 #106374
square
#531074 #742110 #317410 #106374
split-complementary
#531074 #637410 #107421
monochromatic
#13041B #2D093E #531074 #7917AA #A01FE0

Accessibility & contrast

On white

12.40
#531074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#531074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531074
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531074#FFFFFF#000000##FFFFFF
##5310741.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#4E2B44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #531074;
/* rgb */ color: rgb(83, 16, 116);
/* oklch */ color: oklch(34.7% 0.158 310.7);
Tailwind
colors: {
  custom: {
    50: '#88599d',
    500: '#531074',
    950: '#000000',
  },
}
SCSS
$custom: #531074;
$custom-light: #88599d;
$custom-dark: #000000;
JSON
{
  "hex": "#531074",
  "rgb": {
    "r": 83,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 280.2,
    "s": 75.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34697,
    "c": 0.15765,
    "h": 310.7
  },
  "luminance": 0.03471
}

Semantic roles & 50–950 ramp

primary
#531074
secondary
#5CAB35
accent
#F23574
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531074

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

Preview Lab → · Contrast checker → · Palette generator →

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