#30114A#30114A

#30114A is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.101 H 305.2°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#30114A
RGBrgb(48, 17, 74)
HSLhsl(273, 63%, 18%)
HSVhsv(273, 77%, 29%)
CMYKcmyk(35.1%, 77%, 0%, 71%)
CIE-LABlab(12.76, 27.75, -29.11)
CIE-LCHlch(12.76, 40.22, 313.64°)
OKLaboklab(26.02% 0.0584 -0.0827)
OKLCHoklch(26.02% 0.101 305.2)
XYZxyz(2.6551, 1.5237, 6.6315)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30114A #2B4A11
analogous
#14114A #30114A #4A1147
triadic
#30114A #4A3011 #114A30
tetradic
#30114A #4A1411 #2B4A11 #11474A
square
#30114A #4A1411 #2B4A11 #11474A
split-complementary
#30114A #474A11 #114A14
monochromatic
#100619 #100619 #30114A #501C7C #7128AE

Accessibility & contrast

On white

16.09
#30114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30114A
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30114A#FFFFFF#000000##FFFFFF
##30114A1.0016.091.3016.09
#FFFFFF16.091.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30114a;
/* rgb */ color: rgb(48, 17, 74);
/* oklch */ color: oklch(26.0% 0.101 305.2);
Tailwind
colors: {
  custom: {
    50: '#6b527d',
    500: '#30114a',
    950: '#000000',
  },
}
SCSS
$custom: #30114a;
$custom-light: #6b527d;
$custom-dark: #000000;
JSON
{
  "hex": "#30114a",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 272.632,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26018,
    "c": 0.10122,
    "h": 305.2
  },
  "luminance": 0.01524
}

Semantic roles & 50–950 ramp

primary
#30114A
secondary
#588333
accent
#E6428D
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #30114A

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

Preview Lab → · Contrast checker → · Palette generator →

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