#301C67#301C67

#301C67 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.124 H 289.1°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#301C67
RGBrgb(48, 28, 103)
HSLhsl(256, 57%, 26%)
HSVhsv(256, 73%, 40%)
CMYKcmyk(53.4%, 72.8%, 0%, 59.6%)
CIE-LABlab(17.64, 30.11, -40.70)
CIE-LCHlch(17.64, 50.63, 306.49°)
OKLaboklab(30.31% 0.0404 -0.1168)
OKLCHoklch(30.31% 0.124 289.1)
XYZxyz(4.0817, 2.4380, 13.0848)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301C67 #53671C
analogous
#1C2D67 #301C67 #551C67
triadic
#301C67 #67301C #1C6730
tetradic
#301C67 #671C2D #53671C #1C6755
square
#301C67 #671C2D #53671C #1C6755
split-complementary
#301C67 #67551C #2D671C
monochromatic
#0B0718 #1A0F37 #301C67 #462997 #5D36C7

Accessibility & contrast

On white

14.12
#301C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#301C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301C67
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301C67#FFFFFF#000000##FFFFFF
##301C671.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#1D2F3F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #301c67;
/* rgb */ color: rgb(48, 28, 103);
/* oklch */ color: oklch(30.3% 0.124 289.1);
Tailwind
colors: {
  custom: {
    50: '#6e5a93',
    500: '#301c67',
    950: '#000000',
  },
}
SCSS
$custom: #301c67;
$custom-light: #6e5a93;
$custom-dark: #000000;
JSON
{
  "hex": "#301c67",
  "rgb": {
    "r": 48,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 256,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3031,
    "c": 0.1236,
    "h": 289.1
  },
  "luminance": 0.02438
}

Semantic roles & 50–950 ramp

primary
#301C67
secondary
#849C43
accent
#E147B8
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #301C67

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

Preview Lab → · Contrast checker → · Palette generator →

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