#300746#300746

#300746 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.5% C 0.110 H 309.9°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#300746
RGBrgb(48, 7, 70)
HSLhsl(279, 82%, 15%)
HSVhsv(279, 90%, 27%)
CMYKcmyk(31.4%, 90%, 0%, 72.5%)
CIE-LABlab(10.72, 31.51, -29.62)
CIE-LCHlch(10.72, 43.24, 316.77°)
OKLaboklab(24.47% 0.0704 -0.0841)
OKLCHoklch(24.47% 0.11 309.9)
XYZxyz(2.4002, 1.2226, 5.9027)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300746 #1D4607
analogous
#110746 #300746 #46073C
triadic
#300746 #463007 #074630
tetradic
#300746 #461107 #1D4607 #073C46
square
#300746 #461107 #1D4607 #073C46
split-complementary
#300746 #3C4607 #074611
monochromatic
#13031C #13031C #300746 #560D7E #7C12B5

Accessibility & contrast

On white

16.87
#300746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#300746 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300746
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300746#FFFFFF#000000##FFFFFF
##3007461.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B48
Deuteranopia (green-blind)
#001D45
Tritanopia (blue-blind)
#2D1727
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300746;
/* rgb */ color: rgb(48, 7, 70);
/* oklch */ color: oklch(24.5% 0.110 309.9);
Tailwind
colors: {
  custom: {
    50: '#6c4d7a',
    500: '#300746',
    950: '#000000',
  },
}
SCSS
$custom: #300746;
$custom-light: #6c4d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#300746",
  "rgb": {
    "r": 48,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 279.048,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24471,
    "c": 0.10966,
    "h": 309.9
  },
  "luminance": 0.01223
}

Semantic roles & 50–950 ramp

primary
#300746
secondary
#468524
accent
#F83076
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #300746

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

Preview Lab → · Contrast checker → · Palette generator →

#300746 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva