#300F46#300F46

#300F46 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.099 H 308.3°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#300F46
RGBrgb(48, 15, 70)
HSLhsl(276, 65%, 17%)
HSVhsv(276, 79%, 27%)
CMYKcmyk(31.4%, 78.6%, 0%, 72.5%)
CIE-LABlab(12.04, 27.74, -27.48)
CIE-LCHlch(12.04, 39.05, 315.26°)
OKLaboklab(25.4% 0.0615 -0.0779)
OKLCHoklch(25.4% 0.099 308.3)
XYZxyz(2.4950, 1.4123, 5.9343)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300F46 #25460F
analogous
#150F46 #300F46 #460F41
triadic
#300F46 #46300F #0F4630
tetradic
#300F46 #46150F #25460F #0F4146
square
#300F46 #46150F #25460F #0F4146
split-complementary
#300F46 #41460F #0F4615
monochromatic
#110519 #110519 #300F46 #531A78 #7525AB

Accessibility & contrast

On white

16.38
#300F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300F46
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300F46#FFFFFF#000000##FFFFFF
##300F461.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#032045
Tritanopia (blue-blind)
#2D1B29
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #300f46;
/* rgb */ color: rgb(48, 15, 70);
/* oklch */ color: oklch(25.4% 0.099 308.3);
Tailwind
colors: {
  custom: {
    50: '#6b507a',
    500: '#300f46',
    950: '#000000',
  },
}
SCSS
$custom: #300f46;
$custom-light: #6b507a;
$custom-dark: #000000;
JSON
{
  "hex": "#300f46",
  "rgb": {
    "r": 48,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 276,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25399,
    "c": 0.09927,
    "h": 308.3
  },
  "luminance": 0.01412
}

Semantic roles & 50–950 ramp

primary
#300F46
secondary
#508030
accent
#E84083
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #300F46

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

Preview Lab → · Contrast checker → · Palette generator →

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