#300C3E#300C3E

#300C3E is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.3% C 0.094 H 314.8°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#300C3E
RGBrgb(48, 12, 62)
HSLhsl(283, 68%, 15%)
HSVhsv(283, 81%, 24%)
CMYKcmyk(22.6%, 80.6%, 0%, 75.7%)
CIE-LABlab(10.84, 27.22, -23.77)
CIE-LCHlch(10.84, 36.14, 318.87°)
OKLaboklab(24.34% 0.0664 -0.067)
OKLCHoklch(24.34% 0.094 314.8)
XYZxyz(2.2198, 1.2392, 4.6788)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C3E #1A3E0C
analogous
#170C3E #300C3E #3E0C33
triadic
#300C3E #3E300C #0C3E30
tetradic
#300C3E #3E170C #1A3E0C #0C333E
square
#300C3E #3E170C #1A3E0C #0C333E
split-complementary
#300C3E #333E0C #0C3E17
monochromatic
#14051A #14051A #300C3E #581671 #7F20A5

Accessibility & contrast

On white

16.83
#300C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300C3E
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C3E#FFFFFF#000000##FFFFFF
##300C3E1.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#0A1E3D
Tritanopia (blue-blind)
#2F1624
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300c3e;
/* rgb */ color: rgb(48, 12, 62);
/* oklch */ color: oklch(24.3% 0.094 314.8);
Tailwind
colors: {
  custom: {
    50: '#6b4e73',
    500: '#300c3e',
    950: '#000000',
  },
}
SCSS
$custom: #300c3e;
$custom-light: #6b4e73;
$custom-dark: #000000;
JSON
{
  "hex": "#300c3e",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 62
  },
  "hsl": {
    "h": 283.2,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2434,
    "c": 0.09431,
    "h": 314.8
  },
  "luminance": 0.01239
}

Semantic roles & 50–950 ramp

primary
#300C3E
secondary
#427A2C
accent
#EA3D6E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #300C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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