#300341#300341

#300341 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.110 H 314.1°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#300341
RGBrgb(48, 3, 65)
HSLhsl(284, 91%, 13%)
HSVhsv(284, 95%, 25%)
CMYKcmyk(26.2%, 95.4%, 0%, 74.5%)
CIE-LABlab(9.60, 32.26, -27.91)
CIE-LCHlch(9.60, 42.66, 319.13°)
OKLaboklab(23.55% 0.0765 -0.079)
OKLCHoklch(23.55% 0.11 314.1)
XYZxyz(2.2055, 1.0752, 5.0914)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300341 #144103
analogous
#110341 #300341 #410333
triadic
#300341 #413003 #034130
tetradic
#300341 #411103 #144103 #033341
square
#300341 #411103 #144103 #033341
split-complementary
#300341 #334103 #034111
monochromatic
#16011D #16011D #300341 #5B067B #8608B6

Accessibility & contrast

On white

17.28
#300341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#300341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300341
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300341#FFFFFF#000000##FFFFFF
##3003411.0017.281.2117.28
#FFFFFF17.281.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001C40
Tritanopia (blue-blind)
#2E1323
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300341;
/* rgb */ color: rgb(48, 3, 65);
/* oklch */ color: oklch(23.5% 0.110 314.1);
Tailwind
colors: {
  custom: {
    50: '#6c4a76',
    500: '#300341',
    950: '#000000',
  },
}
SCSS
$custom: #300341;
$custom-light: #6c4a76;
$custom-dark: #000000;
JSON
{
  "hex": "#300341",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 65
  },
  "hsl": {
    "h": 283.548,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23548,
    "c": 0.11,
    "h": 314.1
  },
  "luminance": 0.01075
}

Semantic roles & 50–950 ramp

primary
#300341
secondary
#39831D
accent
#FF2964
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #300341

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

Preview Lab → · Contrast checker → · Palette generator →

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