#300641#300641

#300641 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.9% C 0.106 H 313.6°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#300641
RGBrgb(48, 6, 65)
HSLhsl(283, 83%, 14%)
HSVhsv(283, 91%, 25%)
CMYKcmyk(26.2%, 90.8%, 0%, 74.5%)
CIE-LABlab(10.11, 30.77, -27.09)
CIE-LCHlch(10.11, 40.99, 318.64°)
OKLaboklab(23.9% 0.0729 -0.0766)
OKLCHoklch(23.9% 0.106 313.6)
XYZxyz(2.2380, 1.1404, 5.1022)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300641 #174106
analogous
#130641 #300641 #410635
triadic
#300641 #413006 #064130
tetradic
#300641 #411306 #174106 #063541
square
#300641 #411306 #174106 #063541
split-complementary
#300641 #354106 #064113
monochromatic
#15031C #15031C #300641 #590B79 #8310B1

Accessibility & contrast

On white

17.10
#300641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300641
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300641#FFFFFF#000000##FFFFFF
##3006411.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#011D40
Tritanopia (blue-blind)
#2E1424
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #300641;
/* rgb */ color: rgb(48, 6, 65);
/* oklch */ color: oklch(23.9% 0.106 313.6);
Tailwind
colors: {
  custom: {
    50: '#6b4c76',
    500: '#300641',
    950: '#000000',
  },
}
SCSS
$custom: #300641;
$custom-light: #6b4c76;
$custom-dark: #000000;
JSON
{
  "hex": "#300641",
  "rgb": {
    "r": 48,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 282.712,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23901,
    "c": 0.10577,
    "h": 313.6
  },
  "luminance": 0.0114
}

Semantic roles & 50–950 ramp

primary
#300641
secondary
#3D8122
accent
#F92E69
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #300641

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

Preview Lab → · Contrast checker → · Palette generator →

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