#30114D#30114D

#30114D is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.105 H 303.5°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#30114D
RGBrgb(48, 17, 77)
HSLhsl(271, 64%, 18%)
HSVhsv(271, 78%, 30%)
CMYKcmyk(37.7%, 77.9%, 0%, 69.8%)
CIE-LABlab(13.02, 28.59, -30.76)
CIE-LCHlch(13.02, 41.99, 312.90°)
OKLaboklab(26.28% 0.0579 -0.0875)
OKLCHoklch(26.28% 0.105 303.5)
XYZxyz(2.7586, 1.5651, 7.1765)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30114D #2E4D11
analogous
#12114D #30114D #4D114C
triadic
#30114D #4D3011 #114D30
tetradic
#30114D #4D1211 #2E4D11 #114C4D
square
#30114D #4D1211 #2E4D11 #114C4D
split-complementary
#30114D #4C4D11 #114D12
monochromatic
#100619 #11061B #30114D #4F1C7F #6F27B1

Accessibility & contrast

On white

15.99
#30114D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30114D
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30114D#FFFFFF#000000##FFFFFF
##30114D1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30114d;
/* rgb */ color: rgb(48, 17, 77);
/* oklch */ color: oklch(26.3% 0.105 303.5);
Tailwind
colors: {
  custom: {
    50: '#6c527f',
    500: '#30114d',
    950: '#000000',
  },
}
SCSS
$custom: #30114d;
$custom-light: #6c527f;
$custom-dark: #000000;
JSON
{
  "hex": "#30114d",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 77
  },
  "hsl": {
    "h": 271,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26283,
    "c": 0.10493,
    "h": 303.5
  },
  "luminance": 0.01565
}

Semantic roles & 50–950 ramp

primary
#30114D
secondary
#5C8633
accent
#E74191
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #30114D

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

Preview Lab → · Contrast checker → · Palette generator →

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