#30043B#30043B

#30043B is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.1% C 0.103 H 318.4°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#30043B
RGBrgb(48, 4, 59)
HSLhsl(288, 87%, 12%)
HSVhsv(288, 93%, 23%)
CMYKcmyk(18.6%, 93.2%, 0%, 76.9%)
CIE-LABlab(9.25, 30.39, -24.19)
CIE-LCHlch(9.25, 38.84, 321.47°)
OKLaboklab(23.13% 0.0768 -0.0681)
OKLCHoklch(23.13% 0.103 318.4)
XYZxyz(2.0516, 1.0311, 4.2278)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30043B #0F3B04
analogous
#15043B #30043B #3B042B
triadic
#30043B #3B3004 #043B30
tetradic
#30043B #3B1504 #0F3B04 #042B3B
square
#30043B #3B1504 #0F3B04 #042B3B
split-complementary
#30043B #2B3B04 #043B15
monochromatic
#17021D #17021D #30043B #5F0874 #8D0CAE

Accessibility & contrast

On white

17.41
#30043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#30043B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30043B
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30043B#FFFFFF#000000##FFFFFF
##30043B1.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173C
Deuteranopia (green-blind)
#061B3A
Tritanopia (blue-blind)
#301020
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #30043b;
/* rgb */ color: rgb(48, 4, 59);
/* oklch */ color: oklch(23.1% 0.103 318.4);
Tailwind
colors: {
  custom: {
    50: '#6b4a71',
    500: '#30043b',
    950: '#000000',
  },
}
SCSS
$custom: #30043b;
$custom-light: #6b4a71;
$custom-dark: #000000;
JSON
{
  "hex": "#30043b",
  "rgb": {
    "r": 48,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 288,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23134,
    "c": 0.10269,
    "h": 318.4
  },
  "luminance": 0.01031
}

Semantic roles & 50–950 ramp

primary
#30043B
secondary
#317D1E
accent
#FD2A55
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070108
muted
#7A777B

Preview Lab

Preview with #30043B

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

Preview Lab → · Contrast checker → · Palette generator →

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