#300F41#300F41

#300F41 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.093 H 311.8°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#300F41
RGBrgb(48, 15, 65)
HSLhsl(280, 63%, 16%)
HSVhsv(280, 77%, 25%)
CMYKcmyk(26.2%, 76.9%, 0%, 74.5%)
CIE-LABlab(11.63, 26.43, -24.63)
CIE-LCHlch(11.63, 36.12, 317.02°)
OKLaboklab(24.98% 0.0622 -0.0695)
OKLCHoklch(24.98% 0.093 311.8)
XYZxyz(2.3437, 1.3517, 5.1375)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300F41 #20410F
analogous
#170F41 #300F41 #410F39
triadic
#300F41 #41300F #0F4130
tetradic
#300F41 #41170F #20410F #0F3941
square
#300F41 #41170F #20410F #0F3941
split-complementary
#300F41 #39410F #0F4117
monochromatic
#120619 #120619 #300F41 #551A73 #7926A4

Accessibility & contrast

On white

16.53
#300F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300F41
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300F41#FFFFFF#000000##FFFFFF
##300F411.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#0A1F40
Tritanopia (blue-blind)
#2E1926
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #300f41;
/* rgb */ color: rgb(48, 15, 65);
/* oklch */ color: oklch(25.0% 0.093 311.8);
Tailwind
colors: {
  custom: {
    50: '#6b5076',
    500: '#300f41',
    950: '#000000',
  },
}
SCSS
$custom: #300f41;
$custom-light: #6b5076;
$custom-dark: #000000;
JSON
{
  "hex": "#300f41",
  "rgb": {
    "r": 48,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 279.6,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2498,
    "c": 0.09328,
    "h": 311.8
  },
  "luminance": 0.01352
}

Semantic roles & 50–950 ramp

primary
#300F41
secondary
#4A7B30
accent
#E6427A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #300F41

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

Preview Lab → · Contrast checker → · Palette generator →

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