#300C43#300C43

#300C43 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.100 H 311.0°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#300C43
RGBrgb(48, 12, 67)
HSLhsl(279, 70%, 15%)
HSVhsv(279, 82%, 26%)
CMYKcmyk(28.4%, 82.1%, 0%, 73.7%)
CIE-LABlab(11.25, 28.47, -26.65)
CIE-LCHlch(11.25, 39.00, 316.89°)
OKLaboklab(24.76% 0.0657 -0.0754)
OKLCHoklch(24.76% 0.1 311)
XYZxyz(2.3633, 1.2966, 5.4349)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C43 #1F430C
analogous
#150C43 #300C43 #430C3A
triadic
#300C43 #43300C #0C4330
tetradic
#300C43 #43150C #1F430C #0C3A43
square
#300C43 #43150C #1F430C #0C3A43
split-complementary
#300C43 #3A430C #0C4315
monochromatic
#13051A #13051A #300C43 #551577 #7A1FAB

Accessibility & contrast

On white

16.67
#300C43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300C43
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C43#FFFFFF#000000##FFFFFF
##300C431.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C45
Deuteranopia (green-blind)
#041F42
Tritanopia (blue-blind)
#2E1826
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #300c43;
/* rgb */ color: rgb(48, 12, 67);
/* oklch */ color: oklch(24.8% 0.100 311.0);
Tailwind
colors: {
  custom: {
    50: '#6b4f77',
    500: '#300c43',
    950: '#000000',
  },
}
SCSS
$custom: #300c43;
$custom-light: #6b4f77;
$custom-dark: #000000;
JSON
{
  "hex": "#300c43",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 67
  },
  "hsl": {
    "h": 279.273,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2476,
    "c": 0.1,
    "h": 311
  },
  "luminance": 0.01297
}

Semantic roles & 50–950 ramp

primary
#300C43
secondary
#497F2C
accent
#EC3B79
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #300C43

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

Preview Lab → · Contrast checker → · Palette generator →

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