#30043A#30043A

#30043A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.102 H 319.2°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#30043A
RGBrgb(48, 4, 58)
HSLhsl(289, 87%, 12%)
HSVhsv(289, 93%, 23%)
CMYKcmyk(17.2%, 93.1%, 0%, 77.3%)
CIE-LABlab(9.16, 30.17, -23.61)
CIE-LCHlch(9.16, 38.31, 321.96°)
OKLaboklab(23.05% 0.077 -0.0664)
OKLCHoklch(23.05% 0.102 319.2)
XYZxyz(2.0260, 1.0208, 4.0925)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30043A #0E3A04
analogous
#15043A #30043A #3A0429
triadic
#30043A #3A3004 #043A30
tetradic
#30043A #3A1504 #0E3A04 #04293A
square
#30043A #3A1504 #0E3A04 #04293A
split-complementary
#30043A #293A04 #043A15
monochromatic
#18021D #18021D #30043A #5F0873 #8F0CAD

Accessibility & contrast

On white

17.44
#30043A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#30043A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30043A
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30043A#FFFFFF#000000##FFFFFF
##30043A1.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#071B39
Tritanopia (blue-blind)
#30101F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #30043a;
/* rgb */ color: rgb(48, 4, 58);
/* oklch */ color: oklch(23.0% 0.102 319.2);
Tailwind
colors: {
  custom: {
    50: '#6b4a70',
    500: '#30043a',
    950: '#000000',
  },
}
SCSS
$custom: #30043a;
$custom-light: #6b4a70;
$custom-dark: #000000;
JSON
{
  "hex": "#30043a",
  "rgb": {
    "r": 48,
    "g": 4,
    "b": 58
  },
  "hsl": {
    "h": 288.889,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23048,
    "c": 0.10172,
    "h": 319.2
  },
  "luminance": 0.01021
}

Semantic roles & 50–950 ramp

primary
#30043A
secondary
#2F7C1E
accent
#FD2B52
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #30043A

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

Preview Lab → · Contrast checker → · Palette generator →

#30043A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva