#301149#301149

#301149 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.100 H 305.9°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#301149
RGBrgb(48, 17, 73)
HSLhsl(273, 62%, 18%)
HSVhsv(273, 77%, 29%)
CMYKcmyk(34.2%, 76.7%, 0%, 71.4%)
CIE-LABlab(12.67, 27.48, -28.55)
CIE-LCHlch(12.67, 39.63, 313.91°)
OKLaboklab(25.93% 0.0586 -0.081)
OKLCHoklch(25.93% 0.1 305.9)
XYZxyz(2.6217, 1.5103, 6.4554)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301149 #2A4911
analogous
#141149 #301149 #491146
triadic
#301149 #493011 #114930
tetradic
#301149 #491411 #2A4911 #114649
square
#301149 #491411 #2A4911 #114649
split-complementary
#301149 #464911 #114914
monochromatic
#100619 #100619 #301149 #511D7B #7128AC

Accessibility & contrast

On white

16.13
#301149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#301149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301149
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301149#FFFFFF#000000##FFFFFF
##3011491.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204B
Deuteranopia (green-blind)
#022148
Tritanopia (blue-blind)
#2C1E2B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #301149;
/* rgb */ color: rgb(48, 17, 73);
/* oklch */ color: oklch(25.9% 0.100 305.9);
Tailwind
colors: {
  custom: {
    50: '#6b527c',
    500: '#301149',
    950: '#000000',
  },
}
SCSS
$custom: #301149;
$custom-light: #6b527c;
$custom-dark: #000000;
JSON
{
  "hex": "#301149",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 273.214,
    "s": 62.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.25931,
    "c": 0.09998,
    "h": 305.9
  },
  "luminance": 0.0151
}

Semantic roles & 50–950 ramp

primary
#301149
secondary
#578233
accent
#E5438B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #301149

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

Preview Lab → · Contrast checker → · Palette generator →

#301149 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva