#30134B#30134B

#30134B is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.099 H 304.1°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#30134B
RGBrgb(48, 19, 75)
HSLhsl(271, 60%, 18%)
HSVhsv(271, 75%, 29%)
CMYKcmyk(36%, 74.7%, 0%, 70.6%)
CIE-LABlab(13.24, 26.92, -29.01)
CIE-LCHlch(13.24, 39.58, 312.86°)
OKLaboklab(26.39% 0.0557 -0.0824)
OKLCHoklch(26.39% 0.099 304.1)
XYZxyz(2.7215, 1.6021, 6.8211)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30134B #2E4B13
analogous
#14134B #30134B #4B134A
triadic
#30134B #4B3013 #134B30
tetradic
#30134B #4B1413 #2E4B13 #134A4B
square
#30134B #4B1413 #2E4B13 #134A4B
split-complementary
#30134B #4A4B13 #134B14
monochromatic
#100618 #11071A #30134B #4F1F7C #6F2CAD

Accessibility & contrast

On white

15.90
#30134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30134B
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30134B#FFFFFF#000000##FFFFFF
##30134B1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#01224A
Tritanopia (blue-blind)
#2B202D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #30134b;
/* rgb */ color: rgb(48, 19, 75);
/* oklch */ color: oklch(26.4% 0.099 304.1);
Tailwind
colors: {
  custom: {
    50: '#6b537e',
    500: '#30134b',
    950: '#000000',
  },
}
SCSS
$custom: #30134b;
$custom-light: #6b537e;
$custom-dark: #000000;
JSON
{
  "hex": "#30134b",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 271.071,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26391,
    "c": 0.09948,
    "h": 304.1
  },
  "luminance": 0.01602
}

Semantic roles & 50–950 ramp

primary
#30134B
secondary
#5C8436
accent
#E34591
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #30134B

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

Preview Lab → · Contrast checker → · Palette generator →

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