#30146A#30146A

#30146A is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.137 H 290.1°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#30146A
RGBrgb(48, 20, 106)
HSLhsl(260, 68%, 25%)
HSVhsv(260, 81%, 42%)
CMYKcmyk(54.7%, 81.1%, 0%, 58.4%)
CIE-LABlab(16.35, 35.48, -44.77)
CIE-LCHlch(16.35, 57.13, 308.39°)
OKLaboklab(29.49% 0.0472 -0.1287)
OKLCHoklch(29.49% 0.137 290.1)
XYZxyz(4.0698, 2.1691, 13.8371)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30146A #4E6A14
analogous
#14236A #30146A #5B146A
triadic
#30146A #6A3014 #146A30
tetradic
#30146A #6A1423 #4E6A14 #146A5B
square
#30146A #6A1423 #4E6A14 #146A5B
split-complementary
#30146A #6A5B14 #236A14
monochromatic
#0C051A #190A37 #30146A #471E9D #5F27D1

Accessibility & contrast

On white

14.65
#30146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30146A
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30146A#FFFFFF#000000##FFFFFF
##30146A1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.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: #30146a;
/* rgb */ color: rgb(48, 20, 106);
/* oklch */ color: oklch(29.5% 0.137 290.1);
Tailwind
colors: {
  custom: {
    50: '#705595',
    500: '#30146a',
    950: '#000000',
  },
}
SCSS
$custom: #30146a;
$custom-light: #705595;
$custom-dark: #000000;
JSON
{
  "hex": "#30146a",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 259.535,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29491,
    "c": 0.13706,
    "h": 290.1
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#30146A
secondary
#7FA139
accent
#EB3DB2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #30146A

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

Preview Lab → · Contrast checker → · Palette generator →

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