#30134C#30134C

#30134C is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.101 H 303.5°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#30134C
RGBrgb(48, 19, 76)
HSLhsl(271, 60%, 19%)
HSVhsv(271, 75%, 30%)
CMYKcmyk(36.8%, 75%, 0%, 70.2%)
CIE-LABlab(13.33, 27.20, -29.57)
CIE-LCHlch(13.33, 40.18, 312.61°)
OKLaboklab(26.48% 0.0556 -0.084)
OKLCHoklch(26.48% 0.101 303.5)
XYZxyz(2.7560, 1.6159, 7.0028)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30134C #2F4C13
analogous
#13134C #30134C #4C134B
triadic
#30134C #4C3013 #134C30
tetradic
#30134C #4C1313 #2F4C13 #134B4C
square
#30134C #4C1313 #2F4C13 #134B4C
split-complementary
#30134C #4B4C13 #134C13
monochromatic
#0F0618 #11071B #30134C #4F1F7D #6E2BAE

Accessibility & contrast

On white

15.87
#30134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30134C
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30134C#FFFFFF#000000##FFFFFF
##30134C1.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#00224B
Tritanopia (blue-blind)
#2B202D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #30134c;
/* rgb */ color: rgb(48, 19, 76);
/* oklch */ color: oklch(26.5% 0.101 303.5);
Tailwind
colors: {
  custom: {
    50: '#6b537e',
    500: '#30134c',
    950: '#000000',
  },
}
SCSS
$custom: #30134c;
$custom-light: #6b537e;
$custom-dark: #000000;
JSON
{
  "hex": "#30134c",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 270.526,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26478,
    "c": 0.10076,
    "h": 303.5
  },
  "luminance": 0.01616
}

Semantic roles & 50–950 ramp

primary
#30134C
secondary
#5D8536
accent
#E34593
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #30134C

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

Preview Lab → · Contrast checker → · Palette generator →

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