#301C65#301C65

#301C65 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.1% C 0.121 H 289.7°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#301C65
RGBrgb(48, 28, 101)
HSLhsl(256, 57%, 25%)
HSVhsv(256, 72%, 40%)
CMYKcmyk(52.5%, 72.3%, 0%, 60.4%)
CIE-LABlab(17.45, 29.47, -39.69)
CIE-LCHlch(17.45, 49.44, 306.60°)
OKLaboklab(30.12% 0.0408 -0.1138)
OKLCHoklch(30.12% 0.121 289.7)
XYZxyz(3.9825, 2.3983, 12.5625)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301C65 #51651C
analogous
#1C2D65 #301C65 #541C65
triadic
#301C65 #65301C #1C6530
tetradic
#301C65 #651C2D #51651C #1C6554
square
#301C65 #651C2D #51651C #1C6554
split-complementary
#301C65 #65541C #2D651C
monochromatic
#0B0718 #190F35 #301C65 #472995 #5E37C5

Accessibility & contrast

On white

14.19
#301C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301C65
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301C65#FFFFFF#000000##FFFFFF
##301C651.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#1E2E3E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #301c65;
/* rgb */ color: rgb(48, 28, 101);
/* oklch */ color: oklch(30.1% 0.121 289.7);
Tailwind
colors: {
  custom: {
    50: '#6e5a92',
    500: '#301c65',
    950: '#000000',
  },
}
SCSS
$custom: #301c65;
$custom-light: #6e5a92;
$custom-dark: #000000;
JSON
{
  "hex": "#301c65",
  "rgb": {
    "r": 48,
    "g": 28,
    "b": 101
  },
  "hsl": {
    "h": 256.438,
    "s": 56.589,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30122,
    "c": 0.12091,
    "h": 289.7
  },
  "luminance": 0.02398
}

Semantic roles & 50–950 ramp

primary
#301C65
secondary
#829A43
accent
#E048B6
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #301C65

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

Preview Lab → · Contrast checker → · Palette generator →

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