#30106A#30106A

#30106A is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.0% C 0.141 H 290.9°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#30106A
RGBrgb(48, 16, 106)
HSLhsl(261, 74%, 24%)
HSVhsv(261, 85%, 42%)
CMYKcmyk(54.7%, 84.9%, 0%, 58.4%)
CIE-LABlab(15.69, 37.38, -45.86)
CIE-LCHlch(15.69, 59.16, 309.19°)
OKLaboklab(29.03% 0.0502 -0.1318)
OKLCHoklch(29.03% 0.141 290.9)
XYZxyz(4.0050, 2.0394, 13.8155)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30106A #4A6A10
analogous
#101D6A #30106A #5D106A
triadic
#30106A #6A3010 #106A30
tetradic
#30106A #6A101D #4A6A10 #106A5D
square
#30106A #6A101D #4A6A10 #106A5D
split-complementary
#30106A #6A5D10 #1D6A10
monochromatic
#0C041B #180835 #30106A #48189F #6020D4

Accessibility & contrast

On white

14.91
#30106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#30106A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30106A
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30106A#FFFFFF#000000##FFFFFF
##30106A1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002568
Tritanopia (blue-blind)
#1B2B3E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #30106a;
/* rgb */ color: rgb(48, 16, 106);
/* oklch */ color: oklch(29.0% 0.141 290.9);
Tailwind
colors: {
  custom: {
    50: '#705396',
    500: '#30106a',
    950: '#000000',
  },
}
SCSS
$custom: #30106a;
$custom-light: #705396;
$custom-dark: #000000;
JSON
{
  "hex": "#30106a",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 261.333,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29033,
    "c": 0.14107,
    "h": 290.9
  },
  "luminance": 0.0204
}

Semantic roles & 50–950 ramp

primary
#30106A
secondary
#7BA234
accent
#F037AF
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #30106A

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

Preview Lab → · Contrast checker → · Palette generator →

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