#30116A#30116A

#30116A is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.140 H 290.7°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#30116A
RGBrgb(48, 17, 106)
HSLhsl(261, 72%, 24%)
HSVhsv(261, 84%, 42%)
CMYKcmyk(54.7%, 84%, 0%, 58.4%)
CIE-LABlab(15.85, 36.93, -45.60)
CIE-LCHlch(15.85, 58.68, 309.00°)
OKLaboklab(29.14% 0.0495 -0.1311)
OKLCHoklch(29.14% 0.14 290.7)
XYZxyz(4.0201, 2.0697, 13.8205)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30116A #4B6A11
analogous
#111F6A #30116A #5D116A
triadic
#30116A #6A3011 #116A30
tetradic
#30116A #6A111F #4B6A11 #116A5D
square
#30116A #6A111F #4B6A11 #116A5D
split-complementary
#30116A #6A5D11 #1F6A11
monochromatic
#0C041A #180935 #30116A #48199F #6022D3

Accessibility & contrast

On white

14.85
#30116A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#30116A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30116A
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30116A#FFFFFF#000000##FFFFFF
##30116A1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002568
Tritanopia (blue-blind)
#1B2B3E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #30116a;
/* rgb */ color: rgb(48, 17, 106);
/* oklch */ color: oklch(29.1% 0.140 290.7);
Tailwind
colors: {
  custom: {
    50: '#705496',
    500: '#30116a',
    950: '#000000',
  },
}
SCSS
$custom: #30116a;
$custom-light: #705496;
$custom-dark: #000000;
JSON
{
  "hex": "#30116a",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 106
  },
  "hsl": {
    "h": 260.899,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29142,
    "c": 0.14012,
    "h": 290.7
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#30116A
secondary
#7CA235
accent
#EF39B0
background
#F7F5F9
surface
#EDE8F2
border
#C8C4CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #30116A

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

Preview Lab → · Contrast checker → · Palette generator →

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