#30105C#30105C

#30105C is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.124 H 296.3°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#30105C
RGBrgb(48, 16, 92)
HSLhsl(265, 70%, 21%)
HSVhsv(265, 83%, 36%)
CMYKcmyk(47.8%, 82.6%, 0%, 63.9%)
CIE-LABlab(14.24, 33.35, -38.96)
CIE-LCHlch(14.24, 51.29, 310.57°)
OKLaboklab(27.58% 0.0551 -0.1116)
OKLCHoklch(27.58% 0.124 296.3)
XYZxyz(3.3355, 1.7716, 10.2894)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30105C #3C5C10
analogous
#10165C #30105C #56105C
triadic
#30105C #5C3010 #105C30
tetradic
#30105C #5C1016 #3C5C10 #105C56
square
#30105C #5C1016 #3C5C10 #105C56
split-complementary
#30105C #5C5610 #165C10
monochromatic
#0E051A #150728 #30105C #4B1990 #6622C4

Accessibility & contrast

On white

15.51
#30105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30105C
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30105C#FFFFFF#000000##FFFFFF
##30105C1.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#00235B
Tritanopia (blue-blind)
#242536
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #30105c;
/* rgb */ color: rgb(48, 16, 92);
/* oklch */ color: oklch(27.6% 0.124 296.3);
Tailwind
colors: {
  custom: {
    50: '#6e528b',
    500: '#30105c',
    950: '#000000',
  },
}
SCSS
$custom: #30105c;
$custom-light: #6e528b;
$custom-dark: #000000;
JSON
{
  "hex": "#30105c",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 265.263,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.27582,
    "c": 0.12445,
    "h": 296.3
  },
  "luminance": 0.01772
}

Semantic roles & 50–950 ramp

primary
#30105C
secondary
#6C9533
accent
#ED3BA2
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #30105C

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

Preview Lab → · Contrast checker → · Palette generator →

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