#301C49#301C49

#301C49 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.7% C 0.082 H 301.8°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#301C49
RGBrgb(48, 28, 73)
HSLhsl(267, 45%, 20%)
HSVhsv(267, 62%, 29%)
CMYKcmyk(34.2%, 61.6%, 0%, 71.4%)
CIE-LABlab(15.17, 20.74, -24.53)
CIE-LCHlch(15.17, 32.13, 310.21°)
OKLaboklab(27.74% 0.043 -0.0693)
OKLCHoklch(27.74% 0.082 301.8)
XYZxyz(2.8365, 1.9399, 6.5270)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301C49 #35491C
analogous
#1C1F49 #301C49 #471C49
triadic
#301C49 #49301C #1C4930
tetradic
#301C49 #491C1F #35491C #1C4947
square
#301C49 #491C1F #35491C #1C4947
split-complementary
#301C49 #49471C #1F491C
monochromatic
#0F0816 #130B1D #301C49 #4D2D75 #6A3EA1

Accessibility & contrast

On white

15.13
#301C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#301C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301C49
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301C49#FFFFFF#000000##FFFFFF
##301C491.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A264B
Deuteranopia (green-blind)
#112648
Tritanopia (blue-blind)
#2B252F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #301c49;
/* rgb */ color: rgb(48, 28, 73);
/* oklch */ color: oklch(27.7% 0.082 301.8);
Tailwind
colors: {
  custom: {
    50: '#6a597c',
    500: '#301c49',
    950: '#000000',
  },
}
SCSS
$custom: #301c49;
$custom-light: #6a597c;
$custom-dark: #000000;
JSON
{
  "hex": "#301c49",
  "rgb": {
    "r": 48,
    "g": 28,
    "b": 73
  },
  "hsl": {
    "h": 266.667,
    "s": 44.554,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27742,
    "c": 0.08156,
    "h": 301.8
  },
  "luminance": 0.0194
}

Semantic roles & 50–950 ramp

primary
#301C49
secondary
#647E42
accent
#D4549B
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#060309
muted
#7A787B

Preview Lab

Preview with #301C49

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

Preview Lab → · Contrast checker → · Palette generator →

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