#301C3D#301C3D

#301C3D is a dark, moderate violet. Relative luminance 0.018; OKLCH L 26.9% C 0.064 H 310.7°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#301C3D
RGBrgb(48, 28, 61)
HSLhsl(276, 37%, 17%)
HSVhsv(276, 54%, 24%)
CMYKcmyk(21.3%, 54.1%, 0%, 76.1%)
CIE-LABlab(14.38, 17.29, -17.43)
CIE-LCHlch(14.38, 24.55, 314.76°)
OKLaboklab(26.9% 0.0418 -0.0486)
OKLCHoklch(26.9% 0.064 310.7)
XYZxyz(2.4763, 1.7959, 4.6302)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301C3D #293D1C
analogous
#201C3D #301C3D #3D1C39
triadic
#301C3D #3D301C #1C3D30
tetradic
#301C3D #3D201C #293D1C #1C393D
square
#301C3D #3D201C #293D1C #1C393D
split-complementary
#301C3D #393D1C #1C3D20
monochromatic
#110A15 #110A15 #301C3D #512F67 #724391

Accessibility & contrast

On white

15.45
#301C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#301C3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301C3D
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301C3D#FFFFFF#000000##FFFFFF
##301C3D1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14233E
Deuteranopia (green-blind)
#1A253C
Tritanopia (blue-blind)
#2F2129
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #301c3d;
/* rgb */ color: rgb(48, 28, 61);
/* oklch */ color: oklch(26.9% 0.064 310.7);
Tailwind
colors: {
  custom: {
    50: '#695872',
    500: '#301c3d',
    950: '#000000',
  },
}
SCSS
$custom: #301c3d;
$custom-light: #695872;
$custom-dark: #000000;
JSON
{
  "hex": "#301c3d",
  "rgb": {
    "r": 48,
    "g": 28,
    "b": 61
  },
  "hsl": {
    "h": 276.364,
    "s": 37.079,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26899,
    "c": 0.06407,
    "h": 310.7
  },
  "luminance": 0.01796
}

Semantic roles & 50–950 ramp

primary
#301C3D
secondary
#557243
accent
#CD5B88
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060308
muted
#7A787B

Preview Lab

Preview with #301C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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