#30136E#30136E

#30136E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.143 H 289.0°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#30136E
RGBrgb(48, 19, 110)
HSLhsl(259, 71%, 25%)
HSVhsv(259, 83%, 43%)
CMYKcmyk(56.4%, 82.7%, 0%, 56.9%)
CIE-LABlab(16.60, 37.16, -46.98)
CIE-LCHlch(16.60, 59.90, 308.35°)
OKLaboklab(29.79% 0.0466 -0.1351)
OKLCHoklch(29.79% 0.143 289)
XYZxyz(4.2654, 2.2197, 14.9525)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30136E #516E13
analogous
#13236E #30136E #5D136E
triadic
#30136E #6E3013 #136E30
tetradic
#30136E #6E1323 #516E13 #136E5D
square
#30136E #6E1323 #516E13 #136E5D
split-complementary
#30136E #6E5D13 #236E13
monochromatic
#0B051A #190A3A #30136E #471CA2 #5E25D6

Accessibility & contrast

On white

14.54
#30136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#30136E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30136E
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30136E#FFFFFF#000000##FFFFFF
##30136E1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B71
Deuteranopia (green-blind)
#00276C
Tritanopia (blue-blind)
#172D40
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #30136e;
/* rgb */ color: rgb(48, 19, 110);
/* oklch */ color: oklch(29.8% 0.143 289.0);
Tailwind
colors: {
  custom: {
    50: '#715599',
    500: '#30136e',
    950: '#000000',
  },
}
SCSS
$custom: #30136e;
$custom-light: #715599;
$custom-dark: #000000;
JSON
{
  "hex": "#30136e",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 259.121,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29792,
    "c": 0.14294,
    "h": 289
  },
  "luminance": 0.0222
}

Semantic roles & 50–950 ramp

primary
#30136E
secondary
#82A538
accent
#ED3AB4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #30136E

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

Preview Lab → · Contrast checker → · Palette generator →

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