#300434#300434

#300434 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.096 H 324.4°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#300434
RGBrgb(48, 4, 52)
HSLhsl(295, 86%, 11%)
HSVhsv(295, 92%, 20%)
CMYKcmyk(7.7%, 92.3%, 0%, 79.6%)
CIE-LABlab(8.68, 28.88, -20.02)
CIE-LCHlch(8.68, 35.14, 325.27°)
OKLaboklab(22.56% 0.078 -0.0559)
OKLCHoklch(22.56% 0.096 324.4)
XYZxyz(1.8821, 0.9633, 3.3349)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300434 #083404
analogous
#180434 #300434 #340420
triadic
#300434 #343004 #043430
tetradic
#300434 #341804 #083404 #042034
square
#300434 #341804 #083404 #042034
split-complementary
#300434 #203404 #043418
monochromatic
#1A021C #1A021C #300434 #64086D #990DA6

Accessibility & contrast

On white

17.61
#300434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300434
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300434#FFFFFF#000000##FFFFFF
##3004341.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #300434;
/* rgb */ color: rgb(48, 4, 52);
/* oklch */ color: oklch(22.6% 0.096 324.4);
Tailwind
colors: {
  custom: {
    50: '#6b4a6c',
    500: '#300434',
    950: '#000000',
  },
}
SCSS
$custom: #300434;
$custom-light: #6b4a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#300434",
  "rgb": {
    "r": 48,
    "g": 4,
    "b": 52
  },
  "hsl": {
    "h": 295,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22556,
    "c": 0.09599,
    "h": 324.4
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#300434
secondary
#25761E
accent
#FC2C3D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #300434

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

Preview Lab → · Contrast checker → · Palette generator →

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