#301A60#301A60

#301A60 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.3% C 0.117 H 292.0°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#301A60
RGBrgb(48, 26, 96)
HSLhsl(259, 57%, 24%)
HSVhsv(259, 73%, 38%)
CMYKcmyk(50%, 72.9%, 0%, 62.4%)
CIE-LABlab(16.56, 29.09, -37.84)
CIE-LCHlch(16.56, 47.73, 307.56°)
OKLaboklab(29.34% 0.0439 -0.1084)
OKLCHoklch(29.34% 0.117 292)
XYZxyz(3.6990, 2.2116, 11.2960)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301A60 #4A601A
analogous
#1A2760 #301A60 #531A60
triadic
#301A60 #60301A #1A6030
tetradic
#301A60 #601A27 #4A601A #1A6053
square
#301A60 #601A27 #4A601A #1A6053
split-complementary
#301A60 #60531A #27601A
monochromatic
#0C0718 #180D30 #301A60 #482790 #6034C0

Accessibility & contrast

On white

14.56
#301A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#301A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301A60
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301A60#FFFFFF#000000##FFFFFF
##301A601.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#00285F
Tritanopia (blue-blind)
#212B3A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #301a60;
/* rgb */ color: rgb(48, 26, 96);
/* oklch */ color: oklch(29.3% 0.117 292.0);
Tailwind
colors: {
  custom: {
    50: '#6d588e',
    500: '#301a60',
    950: '#000000',
  },
}
SCSS
$custom: #301a60;
$custom-light: #6d588e;
$custom-dark: #000000;
JSON
{
  "hex": "#301a60",
  "rgb": {
    "r": 48,
    "g": 26,
    "b": 96
  },
  "hsl": {
    "h": 258.857,
    "s": 57.377,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29342,
    "c": 0.11692,
    "h": 292
  },
  "luminance": 0.02212
}

Semantic roles & 50–950 ramp

primary
#301A60
secondary
#7B9640
accent
#E147B0
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #301A60

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

Preview Lab → · Contrast checker → · Palette generator →

#301A60 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva