#30146C#30146C

#30146C is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.140 H 289.5°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#30146C
RGBrgb(48, 20, 108)
HSLhsl(259, 69%, 25%)
HSVhsv(259, 81%, 42%)
CMYKcmyk(55.6%, 81.5%, 0%, 57.6%)
CIE-LABlab(16.56, 36.08, -45.74)
CIE-LCHlch(16.56, 58.26, 308.27°)
OKLaboklab(29.7% 0.0465 -0.1315)
OKLCHoklch(29.7% 0.14 289.5)
XYZxyz(4.1751, 2.2112, 14.3913)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30146C #506C14
analogous
#14246C #30146C #5C146C
triadic
#30146C #6C3014 #146C30
tetradic
#30146C #6C1424 #506C14 #146C5C
square
#30146C #6C1424 #506C14 #146C5C
split-complementary
#30146C #6C5C14 #246C14
monochromatic
#0B051A #190A38 #30146C #471EA0 #5E27D3

Accessibility & contrast

On white

14.56
#30146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30146C
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30146C#FFFFFF#000000##FFFFFF
##30146C1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6E
Deuteranopia (green-blind)
#00276A
Tritanopia (blue-blind)
#192D40
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #30146c;
/* rgb */ color: rgb(48, 20, 108);
/* oklch */ color: oklch(29.7% 0.140 289.5);
Tailwind
colors: {
  custom: {
    50: '#705597',
    500: '#30146c',
    950: '#000000',
  },
}
SCSS
$custom: #30146c;
$custom-light: #705597;
$custom-dark: #000000;
JSON
{
  "hex": "#30146c",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 259.091,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29699,
    "c": 0.1395,
    "h": 289.5
  },
  "luminance": 0.02211
}

Semantic roles & 50–950 ramp

primary
#30146C
secondary
#81A339
accent
#EC3CB4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #30146C

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

Preview Lab → · Contrast checker → · Palette generator →

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