#300F3A#300F3A

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

Color values

HEX#300F3A
RGBrgb(48, 15, 58)
HSLhsl(286, 59%, 14%)
HSVhsv(286, 74%, 23%)
CMYKcmyk(17.2%, 74.1%, 0%, 77.3%)
CIE-LABlab(11.10, 24.65, -20.50)
CIE-LCHlch(11.10, 32.06, 320.26°)
OKLaboklab(24.43% 0.0626 -0.0574)
OKLCHoklch(24.43% 0.085 317.5)
XYZxyz(2.1534, 1.2756, 4.1350)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300F3A #193A0F
analogous
#1B0F3A #300F3A #3A0F2F
triadic
#300F3A #3A300F #0F3A30
tetradic
#300F3A #3A1B0F #193A0F #0F2F3A
square
#300F3A #3A1B0F #193A0F #0F2F3A
split-complementary
#300F3A #2F3A0F #0F3A1B
monochromatic
#140618 #140618 #300F3A #581C6B #80289B

Accessibility & contrast

On white

16.73
#300F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#300F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300F3A
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300F3A#FFFFFF#000000##FFFFFF
##300F3A1.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031C3B
Deuteranopia (green-blind)
#101F39
Tritanopia (blue-blind)
#301722
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #300f3a;
/* rgb */ color: rgb(48, 15, 58);
/* oklch */ color: oklch(24.4% 0.085 317.5);
Tailwind
colors: {
  custom: {
    50: '#6a5070',
    500: '#300f3a',
    950: '#000000',
  },
}
SCSS
$custom: #300f3a;
$custom-light: #6a5070;
$custom-dark: #000000;
JSON
{
  "hex": "#300f3a",
  "rgb": {
    "r": 48,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 286.047,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2443,
    "c": 0.08496,
    "h": 317.5
  },
  "luminance": 0.01276
}

Semantic roles & 50–950 ramp

primary
#300F3A
secondary
#407430
accent
#E2466A
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #300F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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