#300E5D#300E5D

#300E5D is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.5% C 0.128 H 296.2°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#300E5D
RGBrgb(48, 14, 93)
HSLhsl(266, 74%, 21%)
HSVhsv(266, 85%, 36%)
CMYKcmyk(48.4%, 84.9%, 0%, 63.5%)
CIE-LABlab(14.02, 34.57, -40.00)
CIE-LCHlch(14.02, 52.87, 310.84°)
OKLaboklab(27.46% 0.0565 -0.1146)
OKLCHoklch(27.46% 0.128 296.2)
XYZxyz(3.3512, 1.7327, 10.5117)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300E5D #3B5D0E
analogous
#0E135D #300E5D #570E5D
triadic
#300E5D #5D300E #0E5D30
tetradic
#300E5D #5D0E13 #3B5D0E #0E5D57
square
#300E5D #5D0E13 #3B5D0E #0E5D57
split-complementary
#300E5D #5D570E #135D0E
monochromatic
#0E041B #150628 #300E5D #4B1692 #671EC7

Accessibility & contrast

On white

15.59
#300E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#300E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300E5D
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300E5D#FFFFFF#000000##FFFFFF
##300E5D1.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#00235C
Tritanopia (blue-blind)
#232436
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #300e5d;
/* rgb */ color: rgb(48, 14, 93);
/* oklch */ color: oklch(27.5% 0.128 296.2);
Tailwind
colors: {
  custom: {
    50: '#6e518c',
    500: '#300e5d',
    950: '#000000',
  },
}
SCSS
$custom: #300e5d;
$custom-light: #6e518c;
$custom-dark: #000000;
JSON
{
  "hex": "#300e5d",
  "rgb": {
    "r": 48,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 265.823,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27457,
    "c": 0.12778,
    "h": 296.2
  },
  "luminance": 0.01733
}

Semantic roles & 50–950 ramp

primary
#300E5D
secondary
#6B9730
accent
#F037A1
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #300E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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