#301A65#301A65

#301A65 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.124 H 290.3°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#301A65
RGBrgb(48, 26, 101)
HSLhsl(258, 59%, 25%)
HSVhsv(258, 74%, 40%)
CMYKcmyk(52.5%, 74.3%, 0%, 60.4%)
CIE-LABlab(17.02, 30.66, -40.39)
CIE-LCHlch(17.02, 50.71, 307.20°)
OKLaboklab(29.81% 0.0429 -0.1159)
OKLCHoklch(29.81% 0.124 290.3)
XYZxyz(3.9366, 2.3066, 12.5472)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301A65 #4F651A
analogous
#1A2A65 #301A65 #561A65
triadic
#301A65 #65301A #1A6530
tetradic
#301A65 #651A2A #4F651A #1A6556
square
#301A65 #651A2A #4F651A #1A6556
split-complementary
#301A65 #65561A #2A651A
monochromatic
#0C0618 #190D34 #301A65 #472796 #5E33C6

Accessibility & contrast

On white

14.37
#301A65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#301A65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301A65
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301A65#FFFFFF#000000##FFFFFF
##301A651.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002864
Tritanopia (blue-blind)
#1E2D3D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #301a65;
/* rgb */ color: rgb(48, 26, 101);
/* oklch */ color: oklch(29.8% 0.124 290.3);
Tailwind
colors: {
  custom: {
    50: '#6e5892',
    500: '#301a65',
    950: '#000000',
  },
}
SCSS
$custom: #301a65;
$custom-light: #6e5892;
$custom-dark: #000000;
JSON
{
  "hex": "#301a65",
  "rgb": {
    "r": 48,
    "g": 26,
    "b": 101
  },
  "hsl": {
    "h": 257.6,
    "s": 59.055,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29813,
    "c": 0.12357,
    "h": 290.3
  },
  "luminance": 0.02307
}

Semantic roles & 50–950 ramp

primary
#301A65
secondary
#809B40
accent
#E246B4
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301A65

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

Preview Lab → · Contrast checker → · Palette generator →

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