#30146B#30146B

#30146B is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.138 H 289.8°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#30146B
RGBrgb(48, 20, 107)
HSLhsl(259, 69%, 25%)
HSVhsv(259, 81%, 42%)
CMYKcmyk(55.1%, 81.3%, 0%, 58%)
CIE-LABlab(16.45, 35.78, -45.26)
CIE-LCHlch(16.45, 57.70, 308.33°)
OKLaboklab(29.6% 0.0468 -0.1301)
OKLCHoklch(29.6% 0.138 289.8)
XYZxyz(4.1222, 2.1900, 14.1126)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30146B #4F6B14
analogous
#14246B #30146B #5B146B
triadic
#30146B #6B3014 #146B30
tetradic
#30146B #6B1424 #4F6B14 #146B5B
square
#30146B #6B1424 #4F6B14 #146B5B
split-complementary
#30146B #6B5B14 #246B14
monochromatic
#0C051A #190A37 #30146B #471E9F #5E27D2

Accessibility & contrast

On white

14.60
#30146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#30146B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30146B
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30146B#FFFFFF#000000##FFFFFF
##30146B1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6D
Deuteranopia (green-blind)
#002769
Tritanopia (blue-blind)
#1A2D3F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #30146b;
/* rgb */ color: rgb(48, 20, 107);
/* oklch */ color: oklch(29.6% 0.138 289.8);
Tailwind
colors: {
  custom: {
    50: '#705596',
    500: '#30146b',
    950: '#000000',
  },
}
SCSS
$custom: #30146b;
$custom-light: #705596;
$custom-dark: #000000;
JSON
{
  "hex": "#30146b",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 259.31,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29595,
    "c": 0.13828,
    "h": 289.8
  },
  "luminance": 0.0219
}

Semantic roles & 50–950 ramp

primary
#30146B
secondary
#80A239
accent
#EB3CB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #30146B

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

Preview Lab → · Contrast checker → · Palette generator →

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