#30105A#30105A

#30105A is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.122 H 297.1°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#30105A
RGBrgb(48, 16, 90)
HSLhsl(266, 70%, 21%)
HSVhsv(266, 82%, 35%)
CMYKcmyk(46.7%, 82.2%, 0%, 64.7%)
CIE-LABlab(14.04, 32.78, -37.94)
CIE-LCHlch(14.04, 50.14, 310.83°)
OKLaboklab(27.38% 0.0557 -0.1086)
OKLCHoklch(27.38% 0.122 297.1)
XYZxyz(3.2492, 1.7371, 9.8350)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30105A #3A5A10
analogous
#10155A #30105A #55105A
triadic
#30105A #5A3010 #105A30
tetradic
#30105A #5A1015 #3A5A10 #105A55
square
#30105A #5A1015 #3A5A10 #105A55
split-complementary
#30105A #5A5510 #155A10
monochromatic
#0E051A #140726 #30105A #4C198E #6722C2

Accessibility & contrast

On white

15.59
#30105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30105A
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30105A#FFFFFF#000000##FFFFFF
##30105A1.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30105a;
/* rgb */ color: rgb(48, 16, 90);
/* oklch */ color: oklch(27.4% 0.122 297.1);
Tailwind
colors: {
  custom: {
    50: '#6d5289',
    500: '#30105a',
    950: '#000000',
  },
}
SCSS
$custom: #30105a;
$custom-light: #6d5289;
$custom-dark: #000000;
JSON
{
  "hex": "#30105a",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 265.946,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27382,
    "c": 0.12205,
    "h": 297.1
  },
  "luminance": 0.01737
}

Semantic roles & 50–950 ramp

primary
#30105A
secondary
#699333
accent
#ED3BA0
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #30105A

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

Preview Lab → · Contrast checker → · Palette generator →

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