#30136F#30136F

#30136F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.9% C 0.144 H 288.7°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#30136F
RGBrgb(48, 19, 111)
HSLhsl(259, 71%, 25%)
HSVhsv(259, 83%, 44%)
CMYKcmyk(56.8%, 82.9%, 0%, 56.5%)
CIE-LABlab(16.71, 37.46, -47.45)
CIE-LCHlch(16.71, 60.46, 308.29°)
OKLaboklab(29.9% 0.0463 -0.1365)
OKLCHoklch(29.9% 0.144 288.7)
XYZxyz(4.3202, 2.2416, 15.2409)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30136F #526F13
analogous
#13246F #30136F #5E136F
triadic
#30136F #6F3013 #136F30
tetradic
#30136F #6F1324 #526F13 #136F5E
square
#30136F #6F1324 #526F13 #136F5E
split-complementary
#30136F #6F5E13 #246F13
monochromatic
#0B041A #190A3B #30136F #471CA3 #5D25D8

Accessibility & contrast

On white

14.50
#30136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#30136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30136F
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30136F#FFFFFF#000000##FFFFFF
##30136F1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#162E41
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #30136f;
/* rgb */ color: rgb(48, 19, 111);
/* oklch */ color: oklch(29.9% 0.144 288.7);
Tailwind
colors: {
  custom: {
    50: '#715599',
    500: '#30136f',
    950: '#000000',
  },
}
SCSS
$custom: #30136f;
$custom-light: #715599;
$custom-dark: #000000;
JSON
{
  "hex": "#30136f",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 258.913,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29899,
    "c": 0.14414,
    "h": 288.7
  },
  "luminance": 0.02242
}

Semantic roles & 50–950 ramp

primary
#30136F
secondary
#83A638
accent
#EE3AB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #30136F

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

Preview Lab → · Contrast checker → · Palette generator →

#30136F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva