#301644#301644

#301644 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.085 H 307.6°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#301644
RGBrgb(48, 22, 68)
HSLhsl(274, 51%, 18%)
HSVhsv(274, 68%, 27%)
CMYKcmyk(29.4%, 67.6%, 0%, 73.3%)
CIE-LABlab(13.35, 23.16, -23.98)
CIE-LCHlch(13.35, 33.34, 314.00°)
OKLaboklab(26.29% 0.0521 -0.0676)
OKLCHoklch(26.29% 0.085 307.6)
XYZxyz(2.5490, 1.6196, 5.6460)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301644 #2A4416
analogous
#191644 #301644 #441641
triadic
#301644 #443016 #164430
tetradic
#301644 #441916 #2A4416 #164144
square
#301644 #441916 #2A4416 #164144
split-complementary
#301644 #414416 #164419
monochromatic
#100717 #100717 #301644 #512572 #7134A0

Accessibility & contrast

On white

15.86
#301644 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301644
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301644#FFFFFF#000000##FFFFFF
##3016441.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042145
Deuteranopia (green-blind)
#0F2343
Tritanopia (blue-blind)
#2D1F2A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #301644;
/* rgb */ color: rgb(48, 22, 68);
/* oklch */ color: oklch(26.3% 0.085 307.6);
Tailwind
colors: {
  custom: {
    50: '#6a5578',
    500: '#301644',
    950: '#000000',
  },
}
SCSS
$custom: #301644;
$custom-light: #6a5578;
$custom-dark: #000000;
JSON
{
  "hex": "#301644",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 68
  },
  "hsl": {
    "h": 273.913,
    "s": 51.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26293,
    "c": 0.08538,
    "h": 307.6
  },
  "luminance": 0.0162
}

Semantic roles & 50–950 ramp

primary
#301644
secondary
#577B3A
accent
#DB4D8B
background
#F6F4F7
surface
#EBE8ED
border
#C6C4C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #301644

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

Preview Lab → · Contrast checker → · Palette generator →

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