#30103C#30103C

#30103C is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.086 H 315.6°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#30103C
RGBrgb(48, 16, 60)
HSLhsl(284, 58%, 15%)
HSVhsv(284, 73%, 24%)
CMYKcmyk(20%, 73.3%, 0%, 76.5%)
CIE-LABlab(11.45, 24.59, -21.37)
CIE-LCHlch(11.45, 32.58, 319.01°)
OKLaboklab(24.73% 0.0612 -0.06)
OKLCHoklch(24.73% 0.086 315.6)
XYZxyz(2.2197, 1.3253, 4.4130)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30103C #1C3C10
analogous
#1A103C #30103C #3C1032
triadic
#30103C #3C3010 #103C30
tetradic
#30103C #3C1A10 #1C3C10 #10323C
square
#30103C #3C1A10 #1C3C10 #10323C
split-complementary
#30103C #323C10 #103C1A
monochromatic
#130618 #130618 #30103C #571D6C #7D2A9D

Accessibility & contrast

On white

16.60
#30103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#30103C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30103C
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30103C#FFFFFF#000000##FFFFFF
##30103C1.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021C3D
Deuteranopia (green-blind)
#101F3B
Tritanopia (blue-blind)
#2F1824
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #30103c;
/* rgb */ color: rgb(48, 16, 60);
/* oklch */ color: oklch(24.7% 0.086 315.6);
Tailwind
colors: {
  custom: {
    50: '#6a5172',
    500: '#30103c',
    950: '#000000',
  },
}
SCSS
$custom: #30103c;
$custom-light: #6a5172;
$custom-dark: #000000;
JSON
{
  "hex": "#30103c",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 283.636,
    "s": 57.895,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24728,
    "c": 0.08564,
    "h": 315.6
  },
  "luminance": 0.01325
}

Semantic roles & 50–950 ramp

primary
#30103C
secondary
#447632
accent
#E14771
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070208
muted
#7A787B

Preview Lab

Preview with #30103C

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

Preview Lab → · Contrast checker → · Palette generator →

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