#300431#300431

#300431 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.093 H 327.2°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#300431
RGBrgb(48, 4, 49)
HSLhsl(299, 85%, 10%)
HSVhsv(299, 92%, 19%)
CMYKcmyk(2%, 91.8%, 0%, 80.8%)
CIE-LABlab(8.46, 28.27, -18.18)
CIE-LCHlch(8.46, 33.61, 327.26°)
OKLaboklab(22.32% 0.0783 -0.0505)
OKLCHoklch(22.32% 0.093 327.2)
XYZxyz(1.8167, 0.9371, 2.9903)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300431 #053104
analogous
#190431 #300431 #31041B
triadic
#300431 #313004 #043130
tetradic
#300431 #311904 #053104 #041B31
square
#300431 #311904 #053104 #041B31
split-complementary
#300431 #1B3104 #043119
monochromatic
#1C021C #1C021C #300431 #67096A #9F0DA2

Accessibility & contrast

On white

17.69
#300431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#300431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300431
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300431#FFFFFF#000000##FFFFFF
##3004311.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001532
Deuteranopia (green-blind)
#0F1A30
Tritanopia (blue-blind)
#320B1A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #300431;
/* rgb */ color: rgb(48, 4, 49);
/* oklch */ color: oklch(22.3% 0.093 327.2);
Tailwind
colors: {
  custom: {
    50: '#6b4a69',
    500: '#300431',
    950: '#000000',
  },
}
SCSS
$custom: #300431;
$custom-light: #6b4a69;
$custom-dark: #000000;
JSON
{
  "hex": "#300431",
  "rgb": {
    "r": 48,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 298.667,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22324,
    "c": 0.0932,
    "h": 327.2
  },
  "luminance": 0.00937
}

Semantic roles & 50–950 ramp

primary
#300431
secondary
#1F731D
accent
#FB2D31
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #300431

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

Preview Lab → · Contrast checker → · Palette generator →

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