#301076#301076

#301076 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.155 H 287.1°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#301076
RGBrgb(48, 16, 118)
HSLhsl(259, 76%, 26%)
HSVhsv(259, 86%, 46%)
CMYKcmyk(59.3%, 86.4%, 0%, 53.7%)
CIE-LABlab(17.02, 40.84, -51.46)
CIE-LCHlch(17.02, 65.70, 308.44°)
OKLaboklab(30.35% 0.0457 -0.1482)
OKLCHoklch(30.35% 0.155 287.1)
XYZxyz(4.6733, 2.3067, 17.3350)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301076 #567610
analogous
#102376 #301076 #631076
triadic
#301076 #763010 #107630
tetradic
#301076 #761023 #567610 #107663
square
#301076 #761023 #567610 #107663
split-complementary
#301076 #766310 #237610
monochromatic
#0B041B #1A0940 #301076 #4617AC #5C20E1

Accessibility & contrast

On white

14.37
#301076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#301076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301076
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301076#FFFFFF#000000##FFFFFF
##3010761.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002774
Tritanopia (blue-blind)
#0E3045
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #301076;
/* rgb */ color: rgb(48, 16, 118);
/* oklch */ color: oklch(30.3% 0.155 287.1);
Tailwind
colors: {
  custom: {
    50: '#72549f',
    500: '#301076',
    950: '#000000',
  },
}
SCSS
$custom: #301076;
$custom-light: #72549f;
$custom-dark: #000000;
JSON
{
  "hex": "#301076",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 258.824,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30346,
    "c": 0.15507,
    "h": 287.1
  },
  "luminance": 0.02307
}

Semantic roles & 50–950 ramp

primary
#301076
secondary
#87AD35
accent
#F335B7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #301076

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

Preview Lab → · Contrast checker → · Palette generator →

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