#301141#301141

#301141 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.090 H 311.3°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#301141
RGBrgb(48, 17, 65)
HSLhsl(279, 59%, 16%)
HSVhsv(279, 74%, 25%)
CMYKcmyk(26.2%, 73.8%, 0%, 74.5%)
CIE-LABlab(12.03, 25.32, -23.99)
CIE-LCHlch(12.03, 34.88, 316.55°)
OKLaboklab(25.27% 0.0595 -0.0676)
OKLCHoklch(25.27% 0.09 311.3)
XYZxyz(2.3733, 1.4110, 5.1473)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301141 #224111
analogous
#181141 #301141 #41113A
triadic
#301141 #413011 #114130
tetradic
#301141 #411811 #224111 #113A41
square
#301141 #411811 #224111 #113A41
split-complementary
#301141 #3A4111 #114118
monochromatic
#120618 #120618 #301141 #541E72 #782AA2

Accessibility & contrast

On white

16.38
#301141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#301141 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301141
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301141#FFFFFF#000000##FFFFFF
##3011411.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#0C2040
Tritanopia (blue-blind)
#2E1B27
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #301141;
/* rgb */ color: rgb(48, 17, 65);
/* oklch */ color: oklch(25.3% 0.090 311.3);
Tailwind
colors: {
  custom: {
    50: '#6a5176',
    500: '#301141',
    950: '#000000',
  },
}
SCSS
$custom: #301141;
$custom-light: #6a5176;
$custom-dark: #000000;
JSON
{
  "hex": "#301141",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 65
  },
  "hsl": {
    "h": 278.75,
    "s": 58.537,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25266,
    "c": 0.09007,
    "h": 311.3
  },
  "luminance": 0.01411
}

Semantic roles & 50–950 ramp

primary
#301141
secondary
#4D7B33
accent
#E2467D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #301141

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

Preview Lab → · Contrast checker → · Palette generator →

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