#300E45#300E45

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

Color values

HEX#300E45
RGBrgb(48, 14, 69)
HSLhsl(277, 66%, 16%)
HSVhsv(277, 80%, 27%)
CMYKcmyk(30.4%, 79.7%, 0%, 72.9%)
CIE-LABlab(11.77, 27.99, -27.22)
CIE-LCHlch(11.77, 39.04, 315.80°)
OKLaboklab(25.18% 0.0629 -0.0771)
OKLCHoklch(25.18% 0.1 309.2)
XYZxyz(2.4499, 1.3722, 5.7649)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300E45 #23450E
analogous
#150E45 #300E45 #450E3F
triadic
#300E45 #45300E #0E4530
tetradic
#300E45 #45150E #23450E #0E3F45
square
#300E45 #45150E #23450E #0E3F45
split-complementary
#300E45 #3F450E #0E4515
monochromatic
#120519 #120519 #300E45 #531878 #7723AB

Accessibility & contrast

On white

16.48
#300E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300E45
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300E45#FFFFFF#000000##FFFFFF
##300E451.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#041F44
Tritanopia (blue-blind)
#2D1A28
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #300e45;
/* rgb */ color: rgb(48, 14, 69);
/* oklch */ color: oklch(25.2% 0.100 309.2);
Tailwind
colors: {
  custom: {
    50: '#6b5079',
    500: '#300e45',
    950: '#000000',
  },
}
SCSS
$custom: #300e45;
$custom-light: #6b5079;
$custom-dark: #000000;
JSON
{
  "hex": "#300e45",
  "rgb": {
    "r": 48,
    "g": 14,
    "b": 69
  },
  "hsl": {
    "h": 277.091,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25182,
    "c": 0.09952,
    "h": 309.2
  },
  "luminance": 0.01372
}

Semantic roles & 50–950 ramp

primary
#300E45
secondary
#4E802F
accent
#E93F80
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #300E45

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

Preview Lab → · Contrast checker → · Palette generator →

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