#301A69#301A69

#301A69 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.129 H 289.0°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#301A69
RGBrgb(48, 26, 105)
HSLhsl(257, 60%, 26%)
HSVhsv(257, 75%, 41%)
CMYKcmyk(54.3%, 75.2%, 0%, 58.8%)
CIE-LABlab(17.40, 31.92, -42.40)
CIE-LCHlch(17.40, 53.08, 306.98°)
OKLaboklab(30.2% 0.042 -0.1218)
OKLCHoklch(30.2% 0.129 289)
XYZxyz(4.1374, 2.3869, 13.6046)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301A69 #53691A
analogous
#1A2B69 #301A69 #571A69
triadic
#301A69 #69301A #1A6930
tetradic
#301A69 #691A2B #53691A #1A6957
square
#301A69 #691A2B #53691A #1A6957
split-complementary
#301A69 #69571A #2B691A
monochromatic
#0B0619 #1A0E38 #301A69 #46269A #5D32CB

Accessibility & contrast

On white

14.21
#301A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#301A69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301A69
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301A69#FFFFFF#000000##FFFFFF
##301A691.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6B
Deuteranopia (green-blind)
#002967
Tritanopia (blue-blind)
#1B2F3F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #301a69;
/* rgb */ color: rgb(48, 26, 105);
/* oklch */ color: oklch(30.2% 0.129 289.0);
Tailwind
colors: {
  custom: {
    50: '#6f5995',
    500: '#301a69',
    950: '#000000',
  },
}
SCSS
$custom: #301a69;
$custom-light: #6f5995;
$custom-dark: #000000;
JSON
{
  "hex": "#301a69",
  "rgb": {
    "r": 48,
    "g": 26,
    "b": 105
  },
  "hsl": {
    "h": 256.709,
    "s": 60.305,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30199,
    "c": 0.12883,
    "h": 289
  },
  "luminance": 0.02387
}

Semantic roles & 50–950 ramp

primary
#301A69
secondary
#849E40
accent
#E344B7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301A69

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

Preview Lab → · Contrast checker → · Palette generator →

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