#300F3C#300F3C

#300F3C is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.6% C 0.087 H 315.8°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#300F3C
RGBrgb(48, 15, 60)
HSLhsl(284, 60%, 15%)
HSVhsv(284, 75%, 24%)
CMYKcmyk(20%, 75%, 0%, 76.5%)
CIE-LABlab(11.25, 25.15, -21.69)
CIE-LCHlch(11.25, 33.21, 319.22°)
OKLaboklab(24.58% 0.0626 -0.0609)
OKLCHoklch(24.58% 0.087 315.8)
XYZxyz(2.2052, 1.2964, 4.4081)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300F3C #1B3C0F
analogous
#1A0F3C #300F3C #3C0F32
triadic
#300F3C #3C300F #0F3C30
tetradic
#300F3C #3C1A0F #1B3C0F #0F323C
square
#300F3C #3C1A0F #1B3C0F #0F323C
split-complementary
#300F3C #323C0F #0F3C1A
monochromatic
#140618 #140618 #300F3C #571B6D #7E279E

Accessibility & contrast

On white

16.68
#300F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300F3C
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300F3C#FFFFFF#000000##FFFFFF
##300F3C1.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011C3D
Deuteranopia (green-blind)
#0F1F3B
Tritanopia (blue-blind)
#2F1723
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #300f3c;
/* rgb */ color: rgb(48, 15, 60);
/* oklch */ color: oklch(24.6% 0.087 315.8);
Tailwind
colors: {
  custom: {
    50: '#6a5072',
    500: '#300f3c',
    950: '#000000',
  },
}
SCSS
$custom: #300f3c;
$custom-light: #6a5072;
$custom-dark: #000000;
JSON
{
  "hex": "#300f3c",
  "rgb": {
    "r": 48,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 284,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24582,
    "c": 0.08732,
    "h": 315.8
  },
  "luminance": 0.01296
}

Semantic roles & 50–950 ramp

primary
#300F3C
secondary
#437630
accent
#E3456F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070208
muted
#7A787B

Preview Lab

Preview with #300F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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