#301344#301344

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

Color values

HEX#301344
RGBrgb(48, 19, 68)
HSLhsl(276, 56%, 17%)
HSVhsv(276, 72%, 27%)
CMYKcmyk(29.4%, 72.1%, 0%, 73.3%)
CIE-LABlab(12.68, 24.97, -25.05)
CIE-LCHlch(12.68, 35.37, 314.91°)
OKLaboklab(25.81% 0.0565 -0.0708)
OKLCHoklch(25.81% 0.091 308.6)
XYZxyz(2.4950, 1.5115, 5.6280)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301344 #274413
analogous
#181344 #301344 #441340
triadic
#301344 #443013 #134430
tetradic
#301344 #441813 #274413 #134044
square
#301344 #441813 #274413 #134044
split-complementary
#301344 #404413 #134418
monochromatic
#110718 #110718 #301344 #522074 #742EA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##301344#FFFFFF#000000##FFFFFF
##3013441.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)
#002046
Deuteranopia (green-blind)
#0B2143
Tritanopia (blue-blind)
#2D1D29
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #301344;
/* rgb */ color: rgb(48, 19, 68);
/* oklch */ color: oklch(25.8% 0.091 308.6);
Tailwind
colors: {
  custom: {
    50: '#6a5378',
    500: '#301344',
    950: '#000000',
  },
}
SCSS
$custom: #301344;
$custom-light: #6a5378;
$custom-dark: #000000;
JSON
{
  "hex": "#301344",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 68
  },
  "hsl": {
    "h": 275.51,
    "s": 56.322,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25809,
    "c": 0.09054,
    "h": 308.6
  },
  "luminance": 0.01511
}

Semantic roles & 50–950 ramp

primary
#301344
secondary
#537D36
accent
#E04886
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #301344

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

Preview Lab → · Contrast checker → · Palette generator →

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