#30033F#30033F

#30033F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.108 H 315.5°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#30033F
RGBrgb(48, 3, 63)
HSLhsl(285, 91%, 13%)
HSVhsv(285, 95%, 25%)
CMYKcmyk(23.8%, 95.2%, 0%, 75.3%)
CIE-LABlab(9.42, 31.80, -26.78)
CIE-LCHlch(9.42, 41.57, 319.90°)
OKLaboklab(23.37% 0.0771 -0.0757)
OKLCHoklch(23.37% 0.108 315.5)
XYZxyz(2.1485, 1.0525, 4.7916)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30033F #123F03
analogous
#12033F #30033F #3F0330
triadic
#30033F #3F3003 #033F30
tetradic
#30033F #3F1203 #123F03 #03303F
square
#30033F #3F1203 #123F03 #03303F
split-complementary
#30033F #303F03 #033F12
monochromatic
#16011D #16011D #30033F #5D0679 #8909B4

Accessibility & contrast

On white

17.35
#30033F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#30033F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30033F
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30033F#FFFFFF#000000##FFFFFF
##30033F1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001841
Deuteranopia (green-blind)
#011B3E
Tritanopia (blue-blind)
#2F1222
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #30033f;
/* rgb */ color: rgb(48, 3, 63);
/* oklch */ color: oklch(23.4% 0.108 315.5);
Tailwind
colors: {
  custom: {
    50: '#6b4a74',
    500: '#30033f',
    950: '#000000',
  },
}
SCSS
$custom: #30033f;
$custom-light: #6b4a74;
$custom-dark: #000000;
JSON
{
  "hex": "#30033f",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 63
  },
  "hsl": {
    "h": 285,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23365,
    "c": 0.10808,
    "h": 315.5
  },
  "luminance": 0.01052
}

Semantic roles & 50–950 ramp

primary
#30033F
secondary
#36811D
accent
#FF295E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #30033F

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

Preview Lab → · Contrast checker → · Palette generator →

#30033F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva