#300A45#300A45

#300A45 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.105 H 310.0°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#300A45
RGBrgb(48, 10, 69)
HSLhsl(279, 75%, 15%)
HSVhsv(279, 86%, 27%)
CMYKcmyk(30.4%, 85.5%, 0%, 72.9%)
CIE-LABlab(11.10, 29.90, -28.30)
CIE-LCHlch(11.10, 41.17, 316.57°)
OKLaboklab(24.71% 0.0675 -0.0803)
OKLCHoklch(24.71% 0.105 310)
XYZxyz(2.4014, 1.2752, 5.7487)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A45 #1F450A
analogous
#120A45 #300A45 #450A3C
triadic
#300A45 #45300A #0A4530
tetradic
#300A45 #45120A #1F450A #0A3C45
square
#300A45 #45120A #1F450A #0A3C45
split-complementary
#300A45 #3C450A #0A4512
monochromatic
#13041B #13041B #300A45 #55127A #7A19B0

Accessibility & contrast

On white

16.73
#300A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#300A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300A45
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A45#FFFFFF#000000##FFFFFF
##300A451.0016.731.2516.73
#FFFFFF16.731.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C47
Deuteranopia (green-blind)
#001E44
Tritanopia (blue-blind)
#2D1827
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #300a45;
/* rgb */ color: rgb(48, 10, 69);
/* oklch */ color: oklch(24.7% 0.105 310.0);
Tailwind
colors: {
  custom: {
    50: '#6b4e79',
    500: '#300a45',
    950: '#000000',
  },
}
SCSS
$custom: #300a45;
$custom-light: #6b4e79;
$custom-dark: #000000;
JSON
{
  "hex": "#300a45",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 278.644,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24708,
    "c": 0.10484,
    "h": 310
  },
  "luminance": 0.01275
}

Semantic roles & 50–950 ramp

primary
#300A45
secondary
#498229
accent
#F13679
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #300A45

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

Preview Lab → · Contrast checker → · Palette generator →

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