#301A67#301A67

#301A67 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.126 H 289.7°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#301A67
RGBrgb(48, 26, 103)
HSLhsl(257, 60%, 25%)
HSVhsv(257, 75%, 40%)
CMYKcmyk(53.4%, 74.8%, 0%, 59.6%)
CIE-LABlab(17.21, 31.29, -41.40)
CIE-LCHlch(17.21, 51.90, 307.08°)
OKLaboklab(30.01% 0.0425 -0.1188)
OKLCHoklch(30.01% 0.126 289.7)
XYZxyz(4.0358, 2.3463, 13.0696)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301A67 #51671A
analogous
#1A2A67 #301A67 #561A67
triadic
#301A67 #67301A #1A6730
tetradic
#301A67 #671A2A #51671A #1A6756
square
#301A67 #671A2A #51671A #1A6756
split-complementary
#301A67 #67561A #2A671A
monochromatic
#0B0618 #190E36 #301A67 #472698 #5E33C9

Accessibility & contrast

On white

14.29
#301A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#301A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301A67
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301A67#FFFFFF#000000##FFFFFF
##301A671.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002866
Tritanopia (blue-blind)
#1D2E3E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #301a67;
/* rgb */ color: rgb(48, 26, 103);
/* oklch */ color: oklch(30.0% 0.126 289.7);
Tailwind
colors: {
  custom: {
    50: '#6f5893',
    500: '#301a67',
    950: '#000000',
  },
}
SCSS
$custom: #301a67;
$custom-light: #6f5893;
$custom-dark: #000000;
JSON
{
  "hex": "#301a67",
  "rgb": {
    "r": 48,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 257.143,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30005,
    "c": 0.12621,
    "h": 289.7
  },
  "luminance": 0.02346
}

Semantic roles & 50–950 ramp

primary
#301A67
secondary
#829D40
accent
#E345B6
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301A67

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

Preview Lab → · Contrast checker → · Palette generator →

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