#30104A#30104A

#30104A is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.103 H 305.5°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#30104A
RGBrgb(48, 16, 74)
HSLhsl(273, 64%, 18%)
HSVhsv(273, 78%, 29%)
CMYKcmyk(35.1%, 78.4%, 0%, 71%)
CIE-LABlab(12.57, 28.29, -29.42)
CIE-LCHlch(12.57, 40.82, 313.88°)
OKLaboklab(25.88% 0.0596 -0.0836)
OKLCHoklch(25.88% 0.103 305.5)
XYZxyz(2.6400, 1.4934, 6.6264)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30104A #2A4A10
analogous
#13104A #30104A #4A1047
triadic
#30104A #4A3010 #104A30
tetradic
#30104A #4A1310 #2A4A10 #10474A
square
#30104A #4A1310 #2A4A10 #10474A
split-complementary
#30104A #474A10 #104A13
monochromatic
#100519 #100519 #30104A #511B7C #7126AF

Accessibility & contrast

On white

16.17
#30104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#30104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30104A
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30104A#FFFFFF#000000##FFFFFF
##30104A1.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#002149
Tritanopia (blue-blind)
#2B1D2B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #30104a;
/* rgb */ color: rgb(48, 16, 74);
/* oklch */ color: oklch(25.9% 0.103 305.5);
Tailwind
colors: {
  custom: {
    50: '#6b517d',
    500: '#30104a',
    950: '#000000',
  },
}
SCSS
$custom: #30104a;
$custom-light: #6b517d;
$custom-dark: #000000;
JSON
{
  "hex": "#30104a",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 273.103,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.25881,
    "c": 0.10267,
    "h": 305.5
  },
  "luminance": 0.01493
}

Semantic roles & 50–950 ramp

primary
#30104A
secondary
#578432
accent
#E7408B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #30104A

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

Preview Lab → · Contrast checker → · Palette generator →

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