#300E4A#300E4A

#300E4A is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.6% C 0.105 H 306.0°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#300E4A
RGBrgb(48, 14, 74)
HSLhsl(274, 68%, 17%)
HSVhsv(274, 81%, 29%)
CMYKcmyk(35.1%, 81.1%, 0%, 71%)
CIE-LABlab(12.20, 29.32, -30.01)
CIE-LCHlch(12.20, 41.96, 314.34°)
OKLaboklab(25.62% 0.062 -0.0853)
OKLCHoklch(25.62% 0.105 306)
XYZxyz(2.6117, 1.4369, 6.6170)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300E4A #284A0E
analogous
#120E4A #300E4A #4A0E46
triadic
#300E4A #4A300E #0E4A30
tetradic
#300E4A #4A120E #284A0E #0E464A
square
#300E4A #4A120E #284A0E #0E464A
split-complementary
#300E4A #464A0E #0E4A12
monochromatic
#11051A #11051A #300E4A #51187D #7321B1

Accessibility & contrast

On white

16.31
#300E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#300E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300E4A
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300E4A#FFFFFF#000000##FFFFFF
##300E4A1.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#002049
Tritanopia (blue-blind)
#2B1C2B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #300e4a;
/* rgb */ color: rgb(48, 14, 74);
/* oklch */ color: oklch(25.6% 0.105 306.0);
Tailwind
colors: {
  custom: {
    50: '#6b507d',
    500: '#300e4a',
    950: '#000000',
  },
}
SCSS
$custom: #300e4a;
$custom-light: #6b507d;
$custom-dark: #000000;
JSON
{
  "hex": "#300e4a",
  "rgb": {
    "r": 48,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 274,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25622,
    "c": 0.10543,
    "h": 306
  },
  "luminance": 0.01437
}

Semantic roles & 50–950 ramp

primary
#300E4A
secondary
#54852F
accent
#EB3D88
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #300E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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