#30103F#30103F

#30103F is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 25.0% C 0.089 H 313.1°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#30103F
RGBrgb(48, 16, 63)
HSLhsl(281, 59%, 15%)
HSVhsv(281, 75%, 25%)
CMYKcmyk(23.8%, 74.6%, 0%, 75.3%)
CIE-LABlab(11.67, 25.36, -23.14)
CIE-LCHlch(11.67, 34.34, 317.62°)
OKLaboklab(24.96% 0.061 -0.0652)
OKLCHoklch(24.96% 0.089 313.1)
XYZxyz(2.3013, 1.3579, 4.8425)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30103F #1F3F10
analogous
#18103F #30103F #3F1036
triadic
#30103F #3F3010 #103F30
tetradic
#30103F #3F1810 #1F3F10 #10363F
square
#30103F #3F1810 #1F3F10 #10363F
split-complementary
#30103F #363F10 #103F18
monochromatic
#130618 #130618 #30103F #551C70 #7A29A1

Accessibility & contrast

On white

16.51
#30103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#30103F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30103F
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30103F#FFFFFF#000000##FFFFFF
##30103F1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#0D203E
Tritanopia (blue-blind)
#2E1925
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #30103f;
/* rgb */ color: rgb(48, 16, 63);
/* oklch */ color: oklch(25.0% 0.089 313.1);
Tailwind
colors: {
  custom: {
    50: '#6a5174',
    500: '#30103f',
    950: '#000000',
  },
}
SCSS
$custom: #30103f;
$custom-light: #6a5174;
$custom-dark: #000000;
JSON
{
  "hex": "#30103f",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 280.851,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2496,
    "c": 0.08926,
    "h": 313.1
  },
  "luminance": 0.01358
}

Semantic roles & 50–950 ramp

primary
#30103F
secondary
#497932
accent
#E34577
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #30103F

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

Preview Lab → · Contrast checker → · Palette generator →

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