#30114C#30114C

#30114C is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.104 H 304.0°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#30114C
RGBrgb(48, 17, 76)
HSLhsl(272, 63%, 18%)
HSVhsv(272, 78%, 30%)
CMYKcmyk(36.8%, 77.6%, 0%, 70.2%)
CIE-LABlab(12.93, 28.31, -30.21)
CIE-LCHlch(12.93, 41.40, 313.14°)
OKLaboklab(26.19% 0.0581 -0.0859)
OKLCHoklch(26.19% 0.104 304)
XYZxyz(2.7236, 1.5511, 6.9920)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30114C #2D4C11
analogous
#12114C #30114C #4C114A
triadic
#30114C #4C3011 #114C30
tetradic
#30114C #4C1211 #2D4C11 #114A4C
square
#30114C #4C1211 #2D4C11 #114A4C
split-complementary
#30114C #4A4C11 #114C12
monochromatic
#100619 #10061A #30114C #501C7E #6F27B0

Accessibility & contrast

On white

16.03
#30114C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#30114C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30114C
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30114C#FFFFFF#000000##FFFFFF
##30114C1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#00214B
Tritanopia (blue-blind)
#2B1F2D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #30114c;
/* rgb */ color: rgb(48, 17, 76);
/* oklch */ color: oklch(26.2% 0.104 304.0);
Tailwind
colors: {
  custom: {
    50: '#6b527e',
    500: '#30114c',
    950: '#000000',
  },
}
SCSS
$custom: #30114c;
$custom-light: #6b527e;
$custom-dark: #000000;
JSON
{
  "hex": "#30114c",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 271.525,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26194,
    "c": 0.1037,
    "h": 304
  },
  "luminance": 0.01551
}

Semantic roles & 50–950 ramp

primary
#30114C
secondary
#5A8533
accent
#E64190
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #30114C

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

Preview Lab → · Contrast checker → · Palette generator →

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