#30145A#30145A

#30145A is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.9% C 0.117 H 296.2°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#30145A
RGBrgb(48, 20, 90)
HSLhsl(264, 64%, 22%)
HSVhsv(264, 78%, 35%)
CMYKcmyk(46.7%, 77.8%, 0%, 64.7%)
CIE-LABlab(14.77, 30.71, -36.75)
CIE-LCHlch(14.77, 47.89, 309.89°)
OKLaboklab(27.9% 0.0517 -0.1051)
OKLCHoklch(27.9% 0.117 296.2)
XYZxyz(3.3141, 1.8668, 9.8566)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30145A #3E5A14
analogous
#141B5A #30145A #53145A
triadic
#30145A #5A3014 #145A30
tetradic
#30145A #5A141B #3E5A14 #145A53
square
#30145A #5A141B #3E5A14 #145A53
split-complementary
#30145A #5A5314 #1B5A14
monochromatic
#0D0619 #150928 #30145A #4B1F8C #652ABE

Accessibility & contrast

On white

15.29
#30145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#30145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30145A
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30145A#FFFFFF#000000##FFFFFF
##30145A1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002459
Tritanopia (blue-blind)
#252635
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #30145a;
/* rgb */ color: rgb(48, 20, 90);
/* oklch */ color: oklch(27.9% 0.117 296.2);
Tailwind
colors: {
  custom: {
    50: '#6d5489',
    500: '#30145a',
    950: '#000000',
  },
}
SCSS
$custom: #30145a;
$custom-light: #6d5489;
$custom-dark: #000000;
JSON
{
  "hex": "#30145a",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 264,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.27897,
    "c": 0.11715,
    "h": 296.2
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#30145A
secondary
#6E9238
accent
#E741A4
background
#F6F5F8
surface
#ECE8F0
border
#C7C4CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #30145A

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

Preview Lab → · Contrast checker → · Palette generator →

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