#30115A#30115A

#30115A is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.5% C 0.121 H 296.9°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#30115A
RGBrgb(48, 17, 90)
HSLhsl(265, 68%, 21%)
HSVhsv(265, 81%, 35%)
CMYKcmyk(46.7%, 81.1%, 0%, 64.7%)
CIE-LABlab(14.22, 32.29, -37.66)
CIE-LCHlch(14.22, 49.60, 310.61°)
OKLaboklab(27.5% 0.0547 -0.1078)
OKLCHoklch(27.5% 0.121 296.9)
XYZxyz(3.2644, 1.7674, 9.8400)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30115A #3B5A11
analogous
#11175A #30115A #54115A
triadic
#30115A #5A3011 #115A30
tetradic
#30115A #5A1117 #3B5A11 #115A54
square
#30115A #5A1117 #3B5A11 #115A54
split-complementary
#30115A #5A5411 #175A11
monochromatic
#0E051A #150727 #30115A #4B1B8D #6724C1

Accessibility & contrast

On white

15.52
#30115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#30115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30115A
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30115A#FFFFFF#000000##FFFFFF
##30115A1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245C
Deuteranopia (green-blind)
#002359
Tritanopia (blue-blind)
#252435
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #30115a;
/* rgb */ color: rgb(48, 17, 90);
/* oklch */ color: oklch(27.5% 0.121 296.9);
Tailwind
colors: {
  custom: {
    50: '#6d5389',
    500: '#30115a',
    950: '#000000',
  },
}
SCSS
$custom: #30115a;
$custom-light: #6d5389;
$custom-dark: #000000;
JSON
{
  "hex": "#30115a",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 265.479,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27504,
    "c": 0.12088,
    "h": 296.9
  },
  "luminance": 0.01767
}

Semantic roles & 50–950 ramp

primary
#30115A
secondary
#6B9334
accent
#EB3DA1
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #30115A

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

Preview Lab → · Contrast checker → · Palette generator →

#30115A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva