#541875#541875

#541875 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.151 H 310.1°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#541875
RGBrgb(84, 24, 117)
HSLhsl(279, 66%, 28%)
HSVhsv(279, 79%, 46%)
CMYKcmyk(28.2%, 79.5%, 0%, 54.1%)
CIE-LABlab(23.08, 43.06, -40.71)
CIE-LCHlch(23.08, 59.26, 316.61°)
OKLaboklab(35.62% 0.0973 -0.1154)
OKLCHoklch(35.62% 0.151 310.1)
XYZxyz(7.1930, 3.8226, 17.1851)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541875 #397518
analogous
#261875 #541875 #751867
triadic
#541875 #755418 #187554
tetradic
#541875 #752618 #397518 #186775
square
#541875 #752618 #397518 #186775
split-complementary
#541875 #677518 #187526
monochromatic
#120519 #300E42 #541875 #7822A8 #9B32D5

Accessibility & contrast

On white

11.90
#541875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#541875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541875
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541875#FFFFFF#000000##FFFFFF
##5418751.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#003873
Tritanopia (blue-blind)
#4F2E46
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #541875;
/* rgb */ color: rgb(84, 24, 117);
/* oklch */ color: oklch(35.6% 0.151 310.1);
Tailwind
colors: {
  custom: {
    50: '#885c9d',
    500: '#541875',
    950: '#000000',
  },
}
SCSS
$custom: #541875;
$custom-light: #885c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#541875",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 278.71,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35622,
    "c": 0.15095,
    "h": 310.1
  },
  "luminance": 0.03822
}

Semantic roles & 50–950 ramp

primary
#541875
secondary
#65AA3F
accent
#E93F7B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541875

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

Preview Lab → · Contrast checker → · Palette generator →

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