#30146F#30146F

#30146F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.143 H 288.5°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#30146F
RGBrgb(48, 20, 111)
HSLhsl(258, 69%, 26%)
HSVhsv(258, 82%, 44%)
CMYKcmyk(56.8%, 82%, 0%, 56.5%)
CIE-LABlab(16.87, 36.98, -47.18)
CIE-LCHlch(16.87, 59.94, 308.09°)
OKLaboklab(30.01% 0.0455 -0.1357)
OKLCHoklch(30.01% 0.143 288.5)
XYZxyz(4.3375, 2.2762, 15.2466)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30146F #536F14
analogous
#14256F #30146F #5D146F
triadic
#30146F #6F3014 #146F30
tetradic
#30146F #6F1425 #536F14 #146F5D
square
#30146F #6F1425 #536F14 #146F5D
split-complementary
#30146F #6F5D14 #256F14
monochromatic
#0B051A #1A0B3B #30146F #461DA3 #5D27D7

Accessibility & contrast

On white

14.43
#30146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#30146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30146F
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30146F#FFFFFF#000000##FFFFFF
##30146F1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#162E41
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #30146f;
/* rgb */ color: rgb(48, 20, 111);
/* oklch */ color: oklch(30.0% 0.143 288.5);
Tailwind
colors: {
  custom: {
    50: '#715699',
    500: '#30146f',
    950: '#000000',
  },
}
SCSS
$custom: #30146f;
$custom-light: #715699;
$custom-dark: #000000;
JSON
{
  "hex": "#30146f",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 258.462,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30015,
    "c": 0.14315,
    "h": 288.5
  },
  "luminance": 0.02276
}

Semantic roles & 50–950 ramp

primary
#30146F
secondary
#84A639
accent
#EC3CB6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #30146F

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

Preview Lab → · Contrast checker → · Palette generator →

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