#30134A#30134A

#30134A is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.098 H 304.7°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#30134A
RGBrgb(48, 19, 74)
HSLhsl(272, 59%, 18%)
HSVhsv(272, 74%, 29%)
CMYKcmyk(35.1%, 74.3%, 0%, 71%)
CIE-LABlab(13.16, 26.64, -28.46)
CIE-LCHlch(13.16, 38.98, 313.11°)
OKLaboklab(26.31% 0.0559 -0.0808)
OKLCHoklch(26.31% 0.098 304.7)
XYZxyz(2.6876, 1.5885, 6.6423)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30134A #2D4A13
analogous
#14134A #30134A #4A1348
triadic
#30134A #4A3013 #134A30
tetradic
#30134A #4A1413 #2D4A13 #13484A
square
#30134A #4A1413 #2D4A13 #13484A
split-complementary
#30134A #484A13 #134A14
monochromatic
#100618 #100619 #30134A #50207B #6F2CAB

Accessibility & contrast

On white

15.94
#30134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#30134A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30134A
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30134A#FFFFFF#000000##FFFFFF
##30134A1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#032249
Tritanopia (blue-blind)
#2B1F2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #30134a;
/* rgb */ color: rgb(48, 19, 74);
/* oklch */ color: oklch(26.3% 0.098 304.7);
Tailwind
colors: {
  custom: {
    50: '#6b537d',
    500: '#30134a',
    950: '#000000',
  },
}
SCSS
$custom: #30134a;
$custom-light: #6b537d;
$custom-dark: #000000;
JSON
{
  "hex": "#30134a",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 271.636,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26306,
    "c": 0.09821,
    "h": 304.7
  },
  "luminance": 0.01589
}

Semantic roles & 50–950 ramp

primary
#30134A
secondary
#5A8336
accent
#E24590
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #30134A

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

Preview Lab → · Contrast checker → · Palette generator →

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