#30145C#30145C

#30145C is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.120 H 295.3°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#30145C
RGBrgb(48, 20, 92)
HSLhsl(263, 64%, 22%)
HSVhsv(263, 78%, 36%)
CMYKcmyk(47.8%, 78.3%, 0%, 63.9%)
CIE-LABlab(14.96, 31.30, -37.78)
CIE-LCHlch(14.96, 49.06, 309.64°)
OKLaboklab(28.09% 0.0512 -0.1082)
OKLCHoklch(28.09% 0.12 295.3)
XYZxyz(3.4003, 1.9013, 10.3110)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30145C #405C14
analogous
#141C5C #30145C #54145C
triadic
#30145C #5C3014 #145C30
tetradic
#30145C #5C141C #405C14 #145C54
square
#30145C #5C141C #405C14 #145C54
split-complementary
#30145C #5C5414 #1C5C14
monochromatic
#0D0519 #16092A #30145C #4A1F8E #642AC1

Accessibility & contrast

On white

15.22
#30145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#30145C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30145C
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30145C#FFFFFF#000000##FFFFFF
##30145C1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00245B
Tritanopia (blue-blind)
#242736
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #30145c;
/* rgb */ color: rgb(48, 20, 92);
/* oklch */ color: oklch(28.1% 0.120 295.3);
Tailwind
colors: {
  custom: {
    50: '#6d548b',
    500: '#30145c',
    950: '#000000',
  },
}
SCSS
$custom: #30145c;
$custom-light: #6d548b;
$custom-dark: #000000;
JSON
{
  "hex": "#30145c",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 263.333,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28088,
    "c": 0.11967,
    "h": 295.3
  },
  "luminance": 0.01901
}

Semantic roles & 50–950 ramp

primary
#30145C
secondary
#709438
accent
#E741A6
background
#F6F5F8
surface
#ECE8F0
border
#C7C4CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #30145C

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

Preview Lab → · Contrast checker → · Palette generator →

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