#300C45#300C45

#300C45 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.102 H 309.7°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#300C45
RGBrgb(48, 12, 69)
HSLhsl(278, 70%, 16%)
HSVhsv(278, 83%, 27%)
CMYKcmyk(30.4%, 82.6%, 0%, 72.9%)
CIE-LABlab(11.42, 28.99, -27.78)
CIE-LCHlch(11.42, 40.15, 316.21°)
OKLaboklab(24.93% 0.0653 -0.0787)
OKLCHoklch(24.93% 0.102 309.7)
XYZxyz(2.4244, 1.3210, 5.7563)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C45 #21450C
analogous
#130C45 #300C45 #450C3D
triadic
#300C45 #45300C #0C4530
tetradic
#300C45 #45130C #21450C #0C3D45
square
#300C45 #45130C #21450C #0C3D45
split-complementary
#300C45 #3D450C #0C4513
monochromatic
#12051A #12051A #300C45 #541579 #791EAD

Accessibility & contrast

On white

16.61
#300C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300C45
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C45#FFFFFF#000000##FFFFFF
##300C451.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#011F44
Tritanopia (blue-blind)
#2D1928
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #300c45;
/* rgb */ color: rgb(48, 12, 69);
/* oklch */ color: oklch(24.9% 0.102 309.7);
Tailwind
colors: {
  custom: {
    50: '#6b4f79',
    500: '#300c45',
    950: '#000000',
  },
}
SCSS
$custom: #300c45;
$custom-light: #6b4f79;
$custom-dark: #000000;
JSON
{
  "hex": "#300c45",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 69
  },
  "hsl": {
    "h": 277.895,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24934,
    "c": 0.10229,
    "h": 309.7
  },
  "luminance": 0.01321
}

Semantic roles & 50–950 ramp

primary
#300C45
secondary
#4B812C
accent
#ED3B7C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #300C45

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

Preview Lab → · Contrast checker → · Palette generator →

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