#300F3B#300F3B

#300F3B is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.5% C 0.086 H 316.6°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#300F3B
RGBrgb(48, 15, 59)
HSLhsl(285, 59%, 15%)
HSVhsv(285, 75%, 23%)
CMYKcmyk(18.6%, 74.6%, 0%, 76.9%)
CIE-LABlab(11.18, 24.90, -21.09)
CIE-LCHlch(11.18, 32.63, 319.73°)
OKLaboklab(24.51% 0.0626 -0.0591)
OKLCHoklch(24.51% 0.086 316.6)
XYZxyz(2.1790, 1.2859, 4.2702)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300F3B #1A3B0F
analogous
#1A0F3B #300F3B #3B0F30
triadic
#300F3B #3B300F #0F3B30
tetradic
#300F3B #3B1A0F #1A3B0F #0F303B
square
#300F3B #3B1A0F #1A3B0F #0F303B
split-complementary
#300F3B #303B0F #0F3B1A
monochromatic
#140618 #140618 #300F3B #581B6C #7F289D

Accessibility & contrast

On white

16.70
#300F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300F3B
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300F3B#FFFFFF#000000##FFFFFF
##300F3B1.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021C3C
Deuteranopia (green-blind)
#101F3A
Tritanopia (blue-blind)
#2F1723
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #300f3b;
/* rgb */ color: rgb(48, 15, 59);
/* oklch */ color: oklch(24.5% 0.086 316.6);
Tailwind
colors: {
  custom: {
    50: '#6a5071',
    500: '#300f3b',
    950: '#000000',
  },
}
SCSS
$custom: #300f3b;
$custom-light: #6a5071;
$custom-dark: #000000;
JSON
{
  "hex": "#300f3b",
  "rgb": {
    "r": 48,
    "g": 15,
    "b": 59
  },
  "hsl": {
    "h": 285,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24506,
    "c": 0.08613,
    "h": 316.6
  },
  "luminance": 0.01286
}

Semantic roles & 50–950 ramp

primary
#300F3B
secondary
#427530
accent
#E3456D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #300F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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