#301C3A#301C3A

#301C3A is a dark, muted purple. Relative luminance 0.018; OKLCH L 26.7% C 0.060 H 313.6°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#301C3A
RGBrgb(48, 28, 58)
HSLhsl(280, 35%, 17%)
HSVhsv(280, 52%, 23%)
CMYKcmyk(17.2%, 51.7%, 0%, 77.3%)
CIE-LABlab(14.20, 16.48, -15.60)
CIE-LCHlch(14.20, 22.69, 316.57°)
OKLaboklab(26.71% 0.0412 -0.0432)
OKLCHoklch(26.71% 0.06 313.6)
XYZxyz(2.3978, 1.7644, 4.2164)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301C3A #263A1C
analogous
#211C3A #301C3A #3A1C35
triadic
#301C3A #3A301C #1C3A30
tetradic
#301C3A #3A211C #263A1C #1C353A
square
#301C3A #3A211C #263A1C #1C353A
split-complementary
#301C3A #353A1C #1C3A21
monochromatic
#110A15 #110A15 #301C3A #523063 #74448D

Accessibility & contrast

On white

15.52
#301C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#301C3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301C3A
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301C3A#FFFFFF#000000##FFFFFF
##301C3A1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16233B
Deuteranopia (green-blind)
#1B2539
Tritanopia (blue-blind)
#2F2028
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #301c3a;
/* rgb */ color: rgb(48, 28, 58);
/* oklch */ color: oklch(26.7% 0.060 313.6);
Tailwind
colors: {
  custom: {
    50: '#695870',
    500: '#301c3a',
    950: '#000000',
  },
}
SCSS
$custom: #301c3a;
$custom-light: #695870;
$custom-dark: #000000;
JSON
{
  "hex": "#301c3a",
  "rgb": {
    "r": 48,
    "g": 28,
    "b": 58
  },
  "hsl": {
    "h": 280,
    "s": 34.884,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26707,
    "c": 0.05975,
    "h": 313.6
  },
  "luminance": 0.01764
}

Semantic roles & 50–950 ramp

primary
#301C3A
secondary
#526F43
accent
#CB5D82
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060307
muted
#7A787A

Preview Lab

Preview with #301C3A

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

Preview Lab → · Contrast checker → · Palette generator →

#301C3A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva