#30136A#30136A

#30136A is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.138 H 290.3°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#30136A
RGBrgb(48, 19, 106)
HSLhsl(260, 70%, 25%)
HSVhsv(260, 82%, 42%)
CMYKcmyk(54.7%, 82.1%, 0%, 58.4%)
CIE-LABlab(16.18, 35.98, -45.06)
CIE-LCHlch(16.18, 57.66, 308.61°)
OKLaboklab(29.37% 0.048 -0.1295)
OKLCHoklch(29.37% 0.138 290.3)
XYZxyz(4.0526, 2.1346, 13.8314)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30136A #4D6A13
analogous
#13226A #30136A #5C136A
triadic
#30136A #6A3013 #136A30
tetradic
#30136A #6A1322 #4D6A13 #136A5C
square
#30136A #6A1322 #4D6A13 #136A5C
split-complementary
#30136A #6A5C13 #226A13
monochromatic
#0C051A #180A36 #30136A #481C9E #5F26D2

Accessibility & contrast

On white

14.72
#30136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#30136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30136A
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30136A#FFFFFF#000000##FFFFFF
##30136A1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002668
Tritanopia (blue-blind)
#1B2C3E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #30136a;
/* rgb */ color: rgb(48, 19, 106);
/* oklch */ color: oklch(29.4% 0.138 290.3);
Tailwind
colors: {
  custom: {
    50: '#705596',
    500: '#30136a',
    950: '#000000',
  },
}
SCSS
$custom: #30136a;
$custom-light: #705596;
$custom-dark: #000000;
JSON
{
  "hex": "#30136a",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 260,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29371,
    "c": 0.13811,
    "h": 290.3
  },
  "luminance": 0.02135
}

Semantic roles & 50–950 ramp

primary
#30136A
secondary
#7EA138
accent
#EC3BB1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #30136A

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

Preview Lab → · Contrast checker → · Palette generator →

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