#300F2D#300F2D

#300F2D is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.5% C 0.070 H 331.2°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#300F2D
RGBrgb(48, 15, 45)
HSLhsl(305, 52%, 12%)
HSVhsv(305, 69%, 19%)
CMYKcmyk(0%, 68.7%, 6.2%, 81.2%)
CIE-LABlab(10.26, 21.65, -12.38)
CIE-LCHlch(10.26, 24.94, 330.23°)
OKLaboklab(23.54% 0.0616 -0.0339)
OKLCHoklch(23.54% 0.07 331.2)
XYZxyz(1.8634, 1.1596, 2.6078)
Luminance0.0116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300F2D #0F3012
analogous
#230F30 #300F2D #300F1C
triadic
#300F2D #2D300F #0F2D30
tetradic
#300F2D #30230F #0F3012 #0F1C30
square
#300F2D #30230F #0F3012 #0F1C30
split-complementary
#300F2D #1C300F #0F3023
monochromatic
#170716 #170716 #300F2D #5F1E59 #8D2C84

Accessibility & contrast

On white

17.05
#300F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#300F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300F2D
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300F2D#FFFFFF#000000##FFFFFF
##300F2D1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D192E
Deuteranopia (green-blind)
#181E2C
Tritanopia (blue-blind)
#32121C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #300f2d;
/* rgb */ color: rgb(48, 15, 45);
/* oklch */ color: oklch(23.5% 0.070 331.2);
Tailwind
colors: {
  custom: {
    50: '#6a4f66',
    500: '#300f2d',
    950: '#000000',
  },
}
SCSS
$custom: #300f2d;
$custom-light: #6a4f66;
$custom-dark: #000000;
JSON
{
  "hex": "#300f2d",
  "rgb": {
    "r": 48,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 305.455,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23538,
    "c": 0.07031,
    "h": 331.2
  },
  "luminance": 0.01159
}

Semantic roles & 50–950 ramp

primary
#300F2D
secondary
#316A36
accent
#DC594C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #300F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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