#301466#301466

#301466 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.132 H 291.5°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#301466
RGBrgb(48, 20, 102)
HSLhsl(260, 67%, 24%)
HSVhsv(260, 80%, 40%)
CMYKcmyk(52.9%, 80.4%, 0%, 60%)
CIE-LABlab(15.94, 34.29, -42.82)
CIE-LCHlch(15.94, 54.85, 308.68°)
OKLaboklab(29.08% 0.0484 -0.123)
OKLCHoklch(29.08% 0.132 291.5)
XYZxyz(3.8667, 2.0878, 12.7671)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301466 #4A6614
analogous
#142166 #301466 #591466
triadic
#301466 #663014 #146630
tetradic
#301466 #661421 #4A6614 #146659
square
#301466 #661421 #4A6614 #146659
split-complementary
#301466 #665914 #216614
monochromatic
#0C051A #180A33 #301466 #481E99 #6028CC

Accessibility & contrast

On white

14.81
#301466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#301466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301466
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301466#FFFFFF#000000##FFFFFF
##3014661.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002664
Tritanopia (blue-blind)
#1E2B3C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #301466;
/* rgb */ color: rgb(48, 20, 102);
/* oklch */ color: oklch(29.1% 0.132 291.5);
Tailwind
colors: {
  custom: {
    50: '#6f5592',
    500: '#301466',
    950: '#000000',
  },
}
SCSS
$custom: #301466;
$custom-light: #6f5592;
$custom-dark: #000000;
JSON
{
  "hex": "#301466",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 102
  },
  "hsl": {
    "h": 260.488,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.2908,
    "c": 0.13214,
    "h": 291.5
  },
  "luminance": 0.02088
}

Semantic roles & 50–950 ramp

primary
#301466
secondary
#7B9D39
accent
#EA3EAF
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301466

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

Preview Lab → · Contrast checker → · Palette generator →

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