#300F39#300F39

#300F39 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.4% C 0.084 H 318.4°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#300F39
RGBrgb(48, 15, 57)
HSLhsl(287, 58%, 14%)
HSVhsv(287, 74%, 22%)
CMYKcmyk(15.8%, 73.7%, 0%, 77.6%)
CIE-LABlab(11.03, 24.41, -19.89)
CIE-LCHlch(11.03, 31.49, 320.82°)
OKLaboklab(24.36% 0.0626 -0.0556)
OKLCHoklch(24.36% 0.084 318.4)
XYZxyz(2.1282, 1.2655, 4.0023)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300F39 #18390F
analogous
#1B0F39 #300F39 #390F2D
triadic
#300F39 #39300F #0F3930
tetradic
#300F39 #391B0F #18390F #0F2D39
square
#300F39 #391B0F #18390F #0F2D39
split-complementary
#300F39 #2D390F #0F391B
monochromatic
#140618 #140618 #300F39 #591C69 #82299A

Accessibility & contrast

On white

16.76
#300F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300F39
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300F39#FFFFFF#000000##FFFFFF
##300F391.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041B3A
Deuteranopia (green-blind)
#111F38
Tritanopia (blue-blind)
#301622
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #300f39;
/* rgb */ color: rgb(48, 15, 57);
/* oklch */ color: oklch(24.4% 0.084 318.4);
Tailwind
colors: {
  custom: {
    50: '#6a506f',
    500: '#300f39',
    950: '#000000',
  },
}
SCSS
$custom: #300f39;
$custom-light: #6a506f;
$custom-dark: #000000;
JSON
{
  "hex": "#300f39",
  "rgb": {
    "r": 48,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 287.143,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24355,
    "c": 0.08378,
    "h": 318.4
  },
  "luminance": 0.01265
}

Semantic roles & 50–950 ramp

primary
#300F39
secondary
#3F7330
accent
#E24668
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #300F39

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

Preview Lab → · Contrast checker → · Palette generator →

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