#300F44#300F44

#300F44 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.097 H 309.7°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#300F44
RGBrgb(48, 15, 68)
HSLhsl(277, 64%, 16%)
HSVhsv(277, 78%, 27%)
CMYKcmyk(29.4%, 77.9%, 0%, 73.3%)
CIE-LABlab(11.87, 27.21, -26.35)
CIE-LCHlch(11.87, 37.88, 315.92°)
OKLaboklab(25.23% 0.0618 -0.0746)
OKLCHoklch(25.23% 0.097 309.7)
XYZxyz(2.4329, 1.3874, 5.6074)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300F44 #23440F
analogous
#160F44 #300F44 #440F3E
triadic
#300F44 #44300F #0F4430
tetradic
#300F44 #44160F #23440F #0F3E44
square
#300F44 #44160F #23440F #0F3E44
split-complementary
#300F44 #3E440F #0F4416
monochromatic
#120619 #120619 #300F44 #531A76 #7725A8

Accessibility & contrast

On white

16.44
#300F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#300F44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300F44
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300F44#FFFFFF#000000##FFFFFF
##300F441.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E46
Deuteranopia (green-blind)
#062043
Tritanopia (blue-blind)
#2D1B28
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #300f44;
/* rgb */ color: rgb(48, 15, 68);
/* oklch */ color: oklch(25.2% 0.097 309.7);
Tailwind
colors: {
  custom: {
    50: '#6b5078',
    500: '#300f44',
    950: '#000000',
  },
}
SCSS
$custom: #300f44;
$custom-light: #6b5078;
$custom-dark: #000000;
JSON
{
  "hex": "#300f44",
  "rgb": {
    "r": 48,
    "g": 15,
    "b": 68
  },
  "hsl": {
    "h": 277.358,
    "s": 63.855,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25229,
    "c": 0.09687,
    "h": 309.7
  },
  "luminance": 0.01387
}

Semantic roles & 50–950 ramp

primary
#300F44
secondary
#4E7E30
accent
#E74180
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #300F44

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

Preview Lab → · Contrast checker → · Palette generator →

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