#30146D#30146D

#30146D is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.141 H 289.2°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#30146D
RGBrgb(48, 20, 109)
HSLhsl(259, 69%, 25%)
HSVhsv(259, 82%, 43%)
CMYKcmyk(56%, 81.7%, 0%, 57.3%)
CIE-LABlab(16.66, 36.38, -46.22)
CIE-LCHlch(16.66, 58.82, 308.20°)
OKLaboklab(29.8% 0.0462 -0.1329)
OKLCHoklch(29.8% 0.141 289.2)
XYZxyz(4.2286, 2.2326, 14.6732)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30146D #516D14
analogous
#14256D #30146D #5C146D
triadic
#30146D #6D3014 #146D30
tetradic
#30146D #6D1425 #516D14 #146D5C
square
#30146D #6D1425 #516D14 #146D5C
split-complementary
#30146D #6D5C14 #256D14
monochromatic
#0B051A #190B39 #30146D #471DA1 #5E27D4

Accessibility & contrast

On white

14.52
#30146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#30146D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30146D
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30146D#FFFFFF#000000##FFFFFF
##30146D1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6F
Deuteranopia (green-blind)
#00276B
Tritanopia (blue-blind)
#182D40
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #30146d;
/* rgb */ color: rgb(48, 20, 109);
/* oklch */ color: oklch(29.8% 0.141 289.2);
Tailwind
colors: {
  custom: {
    50: '#705598',
    500: '#30146d',
    950: '#000000',
  },
}
SCSS
$custom: #30146d;
$custom-light: #705598;
$custom-dark: #000000;
JSON
{
  "hex": "#30146d",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 258.876,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29804,
    "c": 0.14073,
    "h": 289.2
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#30146D
secondary
#82A439
accent
#EC3CB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #30146D

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

Preview Lab → · Contrast checker → · Palette generator →

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