#300F38#300F38

#300F38 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.3% C 0.083 H 319.3°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#300F38
RGBrgb(48, 15, 56)
HSLhsl(288, 58%, 14%)
HSVhsv(288, 73%, 22%)
CMYKcmyk(14.3%, 73.2%, 0%, 78%)
CIE-LABlab(10.96, 24.17, -19.29)
CIE-LCHlch(10.96, 30.92, 321.41°)
OKLaboklab(24.28% 0.0626 -0.0539)
OKLCHoklch(24.28% 0.083 319.3)
XYZxyz(2.1035, 1.2556, 3.8722)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300F38 #17380F
analogous
#1C0F38 #300F38 #380F2C
triadic
#300F38 #38300F #0F3830
tetradic
#300F38 #381C0F #17380F #0F2C38
square
#300F38 #381C0F #17380F #0F2C38
split-complementary
#300F38 #2C380F #0F381C
monochromatic
#150618 #150618 #300F38 #591C68 #832999

Accessibility & contrast

On white

16.78
#300F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300F38
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300F38#FFFFFF#000000##FFFFFF
##300F381.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051B39
Deuteranopia (green-blind)
#121F37
Tritanopia (blue-blind)
#301621
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300f38;
/* rgb */ color: rgb(48, 15, 56);
/* oklch */ color: oklch(24.3% 0.083 319.3);
Tailwind
colors: {
  custom: {
    50: '#6a506f',
    500: '#300f38',
    950: '#000000',
  },
}
SCSS
$custom: #300f38;
$custom-light: #6a506f;
$custom-dark: #000000;
JSON
{
  "hex": "#300f38",
  "rgb": {
    "r": 48,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 288.293,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24281,
    "c": 0.08261,
    "h": 319.3
  },
  "luminance": 0.01256
}

Semantic roles & 50–950 ramp

primary
#300F38
secondary
#3D7230
accent
#E14765
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #300F38

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

Preview Lab → · Contrast checker → · Palette generator →

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