#301641#301641

#301641 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.1% C 0.081 H 309.8°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#301641
RGBrgb(48, 22, 65)
HSLhsl(276, 49%, 17%)
HSVhsv(276, 66%, 25%)
CMYKcmyk(26.2%, 66.2%, 0%, 74.5%)
CIE-LABlab(13.13, 22.33, -22.22)
CIE-LCHlch(13.13, 31.50, 315.13°)
OKLaboklab(26.07% 0.0521 -0.0625)
OKLCHoklch(26.07% 0.081 309.8)
XYZxyz(2.4598, 1.5839, 5.1761)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301641 #274116
analogous
#1B1641 #301641 #41163D
triadic
#301641 #413016 #164130
tetradic
#301641 #411B16 #274116 #163D41
square
#301641 #411B16 #274116 #163D41
split-complementary
#301641 #3D4116 #16411B
monochromatic
#110817 #110817 #301641 #52256F #74359C

Accessibility & contrast

On white

15.95
#301641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#301641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301641
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301641#FFFFFF#000000##FFFFFF
##3016411.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072142
Deuteranopia (green-blind)
#112240
Tritanopia (blue-blind)
#2E1E29
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #301641;
/* rgb */ color: rgb(48, 22, 65);
/* oklch */ color: oklch(26.1% 0.081 309.8);
Tailwind
colors: {
  custom: {
    50: '#6a5476',
    500: '#301641',
    950: '#000000',
  },
}
SCSS
$custom: #301641;
$custom-light: #6a5476;
$custom-dark: #000000;
JSON
{
  "hex": "#301641",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 65
  },
  "hsl": {
    "h": 276.279,
    "s": 49.425,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26065,
    "c": 0.08136,
    "h": 309.8
  },
  "luminance": 0.01584
}

Semantic roles & 50–950 ramp

primary
#301641
secondary
#53783A
accent
#D94F85
background
#F6F4F7
surface
#EBE8ED
border
#C6C4C8
text
#060308
muted
#7A787B

Preview Lab

Preview with #301641

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

Preview Lab → · Contrast checker → · Palette generator →

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