#301169#301169

#301169 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.0% C 0.139 H 291.0°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#301169
RGBrgb(48, 17, 105)
HSLhsl(261, 72%, 24%)
HSVhsv(261, 84%, 41%)
CMYKcmyk(54.3%, 83.8%, 0%, 58.8%)
CIE-LABlab(15.74, 36.64, -45.12)
CIE-LCHlch(15.74, 58.12, 309.08°)
OKLaboklab(29.04% 0.0499 -0.1297)
OKLCHoklch(29.04% 0.139 291)
XYZxyz(3.9684, 2.0490, 13.5483)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301169 #4A6911
analogous
#111E69 #301169 #5C1169
triadic
#301169 #693011 #116930
tetradic
#301169 #69111E #4A6911 #11695C
square
#301169 #69111E #4A6911 #11695C
split-complementary
#301169 #695C11 #1E6911
monochromatic
#0C041A #180834 #301169 #481A9E #6022D2

Accessibility & contrast

On white

14.90
#301169 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#301169 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301169
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301169#FFFFFF#000000##FFFFFF
##3011691.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#1C2B3D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #301169;
/* rgb */ color: rgb(48, 17, 105);
/* oklch */ color: oklch(29.0% 0.139 291.0);
Tailwind
colors: {
  custom: {
    50: '#705495',
    500: '#301169',
    950: '#000000',
  },
}
SCSS
$custom: #301169;
$custom-light: #705495;
$custom-dark: #000000;
JSON
{
  "hex": "#301169",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 105
  },
  "hsl": {
    "h": 261.136,
    "s": 72.131,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29036,
    "c": 0.13893,
    "h": 291
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#301169
secondary
#7BA135
accent
#EF39AF
background
#F7F4F9
surface
#EDE8F2
border
#C8C4CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301169

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

Preview Lab → · Contrast checker → · Palette generator →

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