#300E43#300E43

#300E43 is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.097 H 310.6°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#300E43
RGBrgb(48, 14, 67)
HSLhsl(278, 65%, 16%)
HSVhsv(278, 79%, 26%)
CMYKcmyk(28.4%, 79.1%, 0%, 73.7%)
CIE-LABlab(11.61, 27.47, -26.08)
CIE-LCHlch(11.61, 37.88, 316.49°)
OKLaboklab(25.01% 0.0632 -0.0738)
OKLCHoklch(25.01% 0.097 310.6)
XYZxyz(2.3889, 1.3478, 5.4434)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300E43 #21430E
analogous
#150E43 #300E43 #430E3B
triadic
#300E43 #43300E #0E4330
tetradic
#300E43 #43150E #21430E #0E3B43
square
#300E43 #43150E #21430E #0E3B43
split-complementary
#300E43 #3B430E #0E4315
monochromatic
#120519 #120519 #300E43 #541976 #7923A8

Accessibility & contrast

On white

16.54
#300E43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300E43
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300E43#FFFFFF#000000##FFFFFF
##300E431.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D45
Deuteranopia (green-blind)
#061F42
Tritanopia (blue-blind)
#2D1A27
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #300e43;
/* rgb */ color: rgb(48, 14, 67);
/* oklch */ color: oklch(25.0% 0.097 310.6);
Tailwind
colors: {
  custom: {
    50: '#6b5077',
    500: '#300e43',
    950: '#000000',
  },
}
SCSS
$custom: #300e43;
$custom-light: #6b5077;
$custom-dark: #000000;
JSON
{
  "hex": "#300e43",
  "rgb": {
    "r": 48,
    "g": 14,
    "b": 67
  },
  "hsl": {
    "h": 278.491,
    "s": 65.432,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25011,
    "c": 0.09716,
    "h": 310.6
  },
  "luminance": 0.01348
}

Semantic roles & 50–950 ramp

primary
#300E43
secondary
#4B7E2F
accent
#E83F7C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #300E43

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

Preview Lab → · Contrast checker → · Palette generator →

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