#30094A#30094A

#30094A is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.1% C 0.112 H 307.0°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#30094A
RGBrgb(48, 9, 74)
HSLhsl(276, 78%, 16%)
HSVhsv(276, 88%, 29%)
CMYKcmyk(35.1%, 87.8%, 0%, 71%)
CIE-LABlab(11.40, 31.62, -31.31)
CIE-LCHlch(11.40, 44.49, 315.28°)
OKLaboklab(25.06% 0.0671 -0.0891)
OKLCHoklch(25.06% 0.112 307)
XYZxyz(2.5524, 1.3182, 6.5972)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30094A #234A09
analogous
#10094A #30094A #4A0944
triadic
#30094A #4A3009 #094A30
tetradic
#30094A #4A1009 #234A09 #09444A
square
#30094A #4A1009 #234A09 #09444A
split-complementary
#30094A #444A09 #094A10
monochromatic
#12031B #12031B #30094A #531081 #7716B7

Accessibility & contrast

On white

16.62
#30094A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#30094A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30094A
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30094A#FFFFFF#000000##FFFFFF
##30094A1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001F49
Tritanopia (blue-blind)
#2B1A2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #30094a;
/* rgb */ color: rgb(48, 9, 74);
/* oklch */ color: oklch(25.1% 0.112 307.0);
Tailwind
colors: {
  custom: {
    50: '#6c4e7d',
    500: '#30094a',
    950: '#000000',
  },
}
SCSS
$custom: #30094a;
$custom-light: #6c4e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#30094a",
  "rgb": {
    "r": 48,
    "g": 9,
    "b": 74
  },
  "hsl": {
    "h": 276,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25061,
    "c": 0.11155,
    "h": 307
  },
  "luminance": 0.01318
}

Semantic roles & 50–950 ramp

primary
#30094A
secondary
#4E8727
accent
#F53381
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #30094A

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

Preview Lab → · Contrast checker → · Palette generator →

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