#301341#301341

#301341 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.6% C 0.087 H 310.8°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#301341
RGBrgb(48, 19, 65)
HSLhsl(278, 55%, 16%)
HSVhsv(278, 71%, 25%)
CMYKcmyk(26.2%, 70.8%, 0%, 74.5%)
CIE-LABlab(12.45, 24.16, -23.31)
CIE-LCHlch(12.45, 33.57, 316.03°)
OKLaboklab(25.57% 0.0566 -0.0657)
OKLCHoklch(25.57% 0.087 310.8)
XYZxyz(2.4058, 1.4758, 5.1581)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301341 #244113
analogous
#191341 #301341 #41133B
triadic
#301341 #413013 #134130
tetradic
#301341 #411913 #244113 #133B41
square
#301341 #411913 #244113 #133B41
split-complementary
#301341 #3B4113 #134119
monochromatic
#110718 #110718 #301341 #532170 #762FA0

Accessibility & contrast

On white

16.21
#301341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301341
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301341#FFFFFF#000000##FFFFFF
##3013411.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021F42
Deuteranopia (green-blind)
#0E2140
Tritanopia (blue-blind)
#2E1C27
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #301341;
/* rgb */ color: rgb(48, 19, 65);
/* oklch */ color: oklch(25.6% 0.087 310.8);
Tailwind
colors: {
  custom: {
    50: '#6a5376',
    500: '#301341',
    950: '#000000',
  },
}
SCSS
$custom: #301341;
$custom-light: #6a5376;
$custom-dark: #000000;
JSON
{
  "hex": "#301341",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 277.826,
    "s": 54.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25571,
    "c": 0.0867,
    "h": 310.8
  },
  "luminance": 0.01476
}

Semantic roles & 50–950 ramp

primary
#301341
secondary
#4F7A36
accent
#DE4A81
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #301341

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

Preview Lab → · Contrast checker → · Palette generator →

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