#300346#300346

#300346 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 24.0% C 0.115 H 310.6°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#300346
RGBrgb(48, 3, 70)
HSLhsl(280, 92%, 14%)
HSVhsv(280, 96%, 27%)
CMYKcmyk(31.4%, 95.7%, 0%, 72.5%)
CIE-LABlab(10.08, 33.41, -30.67)
CIE-LCHlch(10.08, 45.36, 317.44°)
OKLaboklab(24.02% 0.0748 -0.0872)
OKLCHoklch(24.02% 0.115 310.6)
XYZxyz(2.3568, 1.1358, 5.8882)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300346 #194603
analogous
#0F0346 #300346 #46033B
triadic
#300346 #463003 #034630
tetradic
#300346 #460F03 #194603 #033B46
square
#300346 #460F03 #194603 #033B46
split-complementary
#300346 #3B4603 #03460F
monochromatic
#14011D #14011D #300346 #580681 #8008BB

Accessibility & contrast

On white

17.11
#300346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#300346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300346
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300346#FFFFFF#000000##FFFFFF
##3003461.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A48
Deuteranopia (green-blind)
#001C45
Tritanopia (blue-blind)
#2D1526
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #300346;
/* rgb */ color: rgb(48, 3, 70);
/* oklch */ color: oklch(24.0% 0.115 310.6);
Tailwind
colors: {
  custom: {
    50: '#6c4b7a',
    500: '#300346',
    950: '#000000',
  },
}
SCSS
$custom: #300346;
$custom-light: #6c4b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#300346",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 280.299,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24021,
    "c": 0.11486,
    "h": 310.6
  },
  "luminance": 0.01136
}

Semantic roles & 50–950 ramp

primary
#300346
secondary
#40871D
accent
#FF296F
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #300346

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

Preview Lab → · Contrast checker → · Palette generator →

#300346 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva