#30114B#30114B

#30114B is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.1% C 0.102 H 304.6°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#30114B
RGBrgb(48, 17, 75)
HSLhsl(272, 63%, 18%)
HSVhsv(272, 77%, 29%)
CMYKcmyk(36%, 77.3%, 0%, 70.6%)
CIE-LABlab(12.84, 28.03, -29.66)
CIE-LCHlch(12.84, 40.81, 313.38°)
OKLaboklab(26.11% 0.0582 -0.0843)
OKLCHoklch(26.11% 0.102 304.6)
XYZxyz(2.6891, 1.5373, 6.8103)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30114B #2C4B11
analogous
#13114B #30114B #4B1149
triadic
#30114B #4B3011 #114B30
tetradic
#30114B #4B1311 #2C4B11 #11494B
square
#30114B #4B1311 #2C4B11 #11494B
split-complementary
#30114B #494B11 #114B13
monochromatic
#100619 #100619 #30114B #501C7D #7028AF

Accessibility & contrast

On white

16.06
#30114B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30114B
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30114B#FFFFFF#000000##FFFFFF
##30114B1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204D
Deuteranopia (green-blind)
#00214A
Tritanopia (blue-blind)
#2B1E2C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #30114b;
/* rgb */ color: rgb(48, 17, 75);
/* oklch */ color: oklch(26.1% 0.102 304.6);
Tailwind
colors: {
  custom: {
    50: '#6b527e',
    500: '#30114b',
    950: '#000000',
  },
}
SCSS
$custom: #30114b;
$custom-light: #6b527e;
$custom-dark: #000000;
JSON
{
  "hex": "#30114b",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 75
  },
  "hsl": {
    "h": 272.069,
    "s": 63.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26106,
    "c": 0.10246,
    "h": 304.6
  },
  "luminance": 0.01537
}

Semantic roles & 50–950 ramp

primary
#30114B
secondary
#598433
accent
#E6428E
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #30114B

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

Preview Lab → · Contrast checker → · Palette generator →

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