#300A48#300A48

#300A48 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.108 H 308.1°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#300A48
RGBrgb(48, 10, 72)
HSLhsl(277, 76%, 16%)
HSVhsv(277, 86%, 28%)
CMYKcmyk(33.3%, 86.1%, 0%, 71.8%)
CIE-LABlab(11.37, 30.67, -29.97)
CIE-LCHlch(11.37, 42.88, 315.66°)
OKLaboklab(24.98% 0.0667 -0.0852)
OKLCHoklch(24.98% 0.108 308.1)
XYZxyz(2.4969, 1.3134, 6.2516)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A48 #22480A
analogous
#110A48 #300A48 #480A41
triadic
#300A48 #48300A #0A4830
tetradic
#300A48 #48110A #22480A #0A4148
square
#300A48 #48110A #22480A #0A4148
split-complementary
#300A48 #41480A #0A4811
monochromatic
#12041B #12041B #300A48 #54117E #7819B3

Accessibility & contrast

On white

16.63
#300A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#300A48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300A48
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A48#FFFFFF#000000##FFFFFF
##300A481.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4A
Deuteranopia (green-blind)
#001F47
Tritanopia (blue-blind)
#2C1A29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #300a48;
/* rgb */ color: rgb(48, 10, 72);
/* oklch */ color: oklch(25.0% 0.108 308.1);
Tailwind
colors: {
  custom: {
    50: '#6c4e7b',
    500: '#300a48',
    950: '#000000',
  },
}
SCSS
$custom: #300a48;
$custom-light: #6c4e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#300a48",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 72
  },
  "hsl": {
    "h": 276.774,
    "s": 75.61,
    "l": 16.078
  },
  "oklch": {
    "l": 0.2498,
    "c": 0.10818,
    "h": 308.1
  },
  "luminance": 0.01313
}

Semantic roles & 50–950 ramp

primary
#300A48
secondary
#4D8529
accent
#F2367F
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #300A48

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

Preview Lab → · Contrast checker → · Palette generator →

#300A48 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva