#30116F#30116F

#30116F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.146 H 289.1°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#30116F
RGBrgb(48, 17, 111)
HSLhsl(260, 73%, 25%)
HSVhsv(260, 85%, 44%)
CMYKcmyk(56.8%, 84.7%, 0%, 56.5%)
CIE-LABlab(16.39, 38.38, -47.98)
CIE-LCHlch(16.39, 61.44, 308.66°)
OKLaboklab(29.68% 0.0477 -0.138)
OKLCHoklch(29.68% 0.146 289.1)
XYZxyz(4.2878, 2.1768, 15.2301)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30116F #506F11
analogous
#11216F #30116F #5F116F
triadic
#30116F #6F3011 #116F30
tetradic
#30116F #6F1121 #506F11 #116F5F
square
#30116F #6F1121 #506F11 #116F5F
split-complementary
#30116F #6F5F11 #216F11
monochromatic
#0B041B #19093A #30116F #4719A4 #5E21D9

Accessibility & contrast

On white

14.63
#30116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#30116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30116F
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30116F#FFFFFF#000000##FFFFFF
##30116F1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00266D
Tritanopia (blue-blind)
#162D41
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #30116f;
/* rgb */ color: rgb(48, 17, 111);
/* oklch */ color: oklch(29.7% 0.146 289.1);
Tailwind
colors: {
  custom: {
    50: '#715499',
    500: '#30116f',
    950: '#000000',
  },
}
SCSS
$custom: #30116f;
$custom-light: #715499;
$custom-dark: #000000;
JSON
{
  "hex": "#30116f",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 259.787,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29678,
    "c": 0.14603,
    "h": 289.1
  },
  "luminance": 0.02177
}

Semantic roles & 50–950 ramp

primary
#30116F
secondary
#81A635
accent
#F038B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #30116F

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

Preview Lab → · Contrast checker → · Palette generator →

#30116F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva