#300534#300534

#300534 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.094 H 324.3°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#300534
RGBrgb(48, 5, 52)
HSLhsl(295, 82%, 11%)
HSVhsv(295, 90%, 20%)
CMYKcmyk(7.7%, 90.4%, 0%, 79.6%)
CIE-LABlab(8.87, 28.35, -19.73)
CIE-LCHlch(8.87, 34.54, 325.17°)
OKLaboklab(22.69% 0.0766 -0.0551)
OKLCHoklch(22.69% 0.094 324.3)
XYZxyz(1.8930, 0.9850, 3.3386)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300534 #093405
analogous
#180534 #300534 #340520
triadic
#300534 #343005 #053430
tetradic
#300534 #341805 #093405 #052034
square
#300534 #341805 #093405 #052034
split-complementary
#300534 #203405 #053418
monochromatic
#1A031C #1A031C #300534 #640A6C #9710A4

Accessibility & contrast

On white

17.54
#300534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#300534 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300534
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300534#FFFFFF#000000##FFFFFF
##3005341.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001635
Deuteranopia (green-blind)
#0E1B33
Tritanopia (blue-blind)
#310D1C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #300534;
/* rgb */ color: rgb(48, 5, 52);
/* oklch */ color: oklch(22.7% 0.094 324.3);
Tailwind
colors: {
  custom: {
    50: '#6b4a6c',
    500: '#300534',
    950: '#000000',
  },
}
SCSS
$custom: #300534;
$custom-light: #6b4a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#300534",
  "rgb": {
    "r": 48,
    "g": 5,
    "b": 52
  },
  "hsl": {
    "h": 294.894,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22686,
    "c": 0.09431,
    "h": 324.3
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#300534
secondary
#27751F
accent
#F92F40
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #300534

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

Preview Lab → · Contrast checker → · Palette generator →

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