#301E69#301E69

#301E69 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 30.8% C 0.124 H 287.9°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#301E69
RGBrgb(48, 30, 105)
HSLhsl(254, 56%, 26%)
HSVhsv(254, 71%, 41%)
CMYKcmyk(54.3%, 71.4%, 0%, 58.8%)
CIE-LABlab(18.26, 29.54, -40.99)
CIE-LCHlch(18.26, 50.53, 305.78°)
OKLaboklab(30.82% 0.038 -0.1176)
OKLCHoklch(30.82% 0.124 287.9)
XYZxyz(4.2323, 2.5766, 13.6362)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301E69 #57691E
analogous
#1E3269 #301E69 #561E69
triadic
#301E69 #69301E #1E6930
tetradic
#301E69 #691E32 #57691E #1E6956
square
#301E69 #691E32 #57691E #1E6956
split-complementary
#301E69 #69561E #32691E
monochromatic
#0B0718 #1A1039 #301E69 #462C99 #5C3BC7

Accessibility & contrast

On white

13.86
#301E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#301E69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301E69
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301E69#FFFFFF#000000##FFFFFF
##301E691.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6B
Deuteranopia (green-blind)
#002B68
Tritanopia (blue-blind)
#1B3140
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #301e69;
/* rgb */ color: rgb(48, 30, 105);
/* oklch */ color: oklch(30.8% 0.124 287.9);
Tailwind
colors: {
  custom: {
    50: '#6f5b95',
    500: '#301e69',
    950: '#000000',
  },
}
SCSS
$custom: #301e69;
$custom-light: #6f5b95;
$custom-dark: #000000;
JSON
{
  "hex": "#301e69",
  "rgb": {
    "r": 48,
    "g": 30,
    "b": 105
  },
  "hsl": {
    "h": 254.4,
    "s": 55.556,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30816,
    "c": 0.12363,
    "h": 287.9
  },
  "luminance": 0.02577
}

Semantic roles & 50–950 ramp

primary
#301E69
secondary
#889E45
accent
#DF49BB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #301E69

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

Preview Lab → · Contrast checker → · Palette generator →

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