#30105B#30105B

#30105B is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.5% C 0.123 H 296.7°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#30105B
RGBrgb(48, 16, 91)
HSLhsl(266, 70%, 21%)
HSVhsv(266, 82%, 36%)
CMYKcmyk(47.3%, 82.4%, 0%, 64.3%)
CIE-LABlab(14.14, 33.07, -38.45)
CIE-LCHlch(14.14, 50.71, 310.70°)
OKLaboklab(27.48% 0.0554 -0.1101)
OKLCHoklch(27.48% 0.123 296.7)
XYZxyz(3.2920, 1.7542, 10.0607)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30105B #3B5B10
analogous
#10155B #30105B #55105B
triadic
#30105B #5B3010 #105B30
tetradic
#30105B #5B1015 #3B5B10 #105B55
square
#30105B #5B1015 #3B5B10 #105B55
split-complementary
#30105B #5B5510 #155B10
monochromatic
#0E051A #150727 #30105B #4B198F #6722C3

Accessibility & contrast

On white

15.55
#30105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#30105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30105B
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30105B#FFFFFF#000000##FFFFFF
##30105B1.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245D
Deuteranopia (green-blind)
#00235A
Tritanopia (blue-blind)
#242435
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #30105b;
/* rgb */ color: rgb(48, 16, 91);
/* oklch */ color: oklch(27.5% 0.123 296.7);
Tailwind
colors: {
  custom: {
    50: '#6e528a',
    500: '#30105b',
    950: '#000000',
  },
}
SCSS
$custom: #30105b;
$custom-light: #6e528a;
$custom-dark: #000000;
JSON
{
  "hex": "#30105b",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 265.6,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27482,
    "c": 0.12325,
    "h": 296.7
  },
  "luminance": 0.01754
}

Semantic roles & 50–950 ramp

primary
#30105B
secondary
#6B9433
accent
#ED3BA1
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #30105B

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

Preview Lab → · Contrast checker → · Palette generator →

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