#300F3F#300F3F

#300F3F is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.8% C 0.091 H 313.4°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#300F3F
RGBrgb(48, 15, 63)
HSLhsl(281, 62%, 15%)
HSVhsv(281, 76%, 25%)
CMYKcmyk(23.8%, 76.2%, 0%, 75.3%)
CIE-LABlab(11.48, 25.91, -23.46)
CIE-LCHlch(11.48, 34.95, 317.84°)
OKLaboklab(24.82% 0.0624 -0.0661)
OKLCHoklch(24.82% 0.091 313.4)
XYZxyz(2.2868, 1.3290, 4.8377)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300F3F #1E3F0F
analogous
#180F3F #300F3F #3F0F36
triadic
#300F3F #3F300F #0F3F30
tetradic
#300F3F #3F180F #1E3F0F #0F363F
square
#300F3F #3F180F #1E3F0F #0F363F
split-complementary
#300F3F #363F0F #0F3F18
monochromatic
#130619 #130619 #300F3F #561B70 #7B27A2

Accessibility & contrast

On white

16.59
#300F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#300F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300F3F
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300F3F#FFFFFF#000000##FFFFFF
##300F3F1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#0C1F3E
Tritanopia (blue-blind)
#2E1925
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #300f3f;
/* rgb */ color: rgb(48, 15, 63);
/* oklch */ color: oklch(24.8% 0.091 313.4);
Tailwind
colors: {
  custom: {
    50: '#6a5074',
    500: '#300f3f',
    950: '#000000',
  },
}
SCSS
$custom: #300f3f;
$custom-light: #6a5074;
$custom-dark: #000000;
JSON
{
  "hex": "#300f3f",
  "rgb": {
    "r": 48,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 281.25,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24818,
    "c": 0.09088,
    "h": 313.4
  },
  "luminance": 0.01329
}

Semantic roles & 50–950 ramp

primary
#300F3F
secondary
#477930
accent
#E54376
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #300F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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