#301C69#301C69

#301C69 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.5% C 0.126 H 288.5°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#301C69
RGBrgb(48, 28, 105)
HSLhsl(256, 58%, 26%)
HSVhsv(256, 73%, 41%)
CMYKcmyk(54.3%, 73.3%, 0%, 58.8%)
CIE-LABlab(17.82, 30.75, -41.71)
CIE-LCHlch(17.82, 51.82, 306.40°)
OKLaboklab(30.5% 0.04 -0.1198)
OKLCHoklch(30.5% 0.126 288.5)
XYZxyz(4.1832, 2.4786, 13.6199)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301C69 #55691C
analogous
#1C2E69 #301C69 #561C69
triadic
#301C69 #69301C #1C6930
tetradic
#301C69 #691C2E #55691C #1C6956
square
#301C69 #691C2E #55691C #1C6956
split-complementary
#301C69 #69561C #2E691C
monochromatic
#0B0618 #1A0F39 #301C69 #462999 #5C36C9

Accessibility & contrast

On white

14.04
#301C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#301C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301C69
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301C69#FFFFFF#000000##FFFFFF
##301C691.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6B
Deuteranopia (green-blind)
#002A67
Tritanopia (blue-blind)
#1B3040
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #301c69;
/* rgb */ color: rgb(48, 28, 105);
/* oklch */ color: oklch(30.5% 0.126 288.5);
Tailwind
colors: {
  custom: {
    50: '#6f5a95',
    500: '#301c69',
    950: '#000000',
  },
}
SCSS
$custom: #301c69;
$custom-light: #6f5a95;
$custom-dark: #000000;
JSON
{
  "hex": "#301c69",
  "rgb": {
    "r": 48,
    "g": 28,
    "b": 105
  },
  "hsl": {
    "h": 255.584,
    "s": 57.895,
    "l": 26.078
  },
  "oklch": {
    "l": 0.305,
    "c": 0.12628,
    "h": 288.5
  },
  "luminance": 0.02479
}

Semantic roles & 50–950 ramp

primary
#301C69
secondary
#869E43
accent
#E147B9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #301C69

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

Preview Lab → · Contrast checker → · Palette generator →

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