#301649#301649

#301649 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.7% C 0.092 H 304.3°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#301649
RGBrgb(48, 22, 73)
HSLhsl(271, 54%, 19%)
HSVhsv(271, 70%, 29%)
CMYKcmyk(34.2%, 69.9%, 0%, 71.4%)
CIE-LABlab(13.73, 24.58, -26.85)
CIE-LCHlch(13.73, 36.40, 312.47°)
OKLaboklab(26.69% 0.0519 -0.0761)
OKLCHoklch(26.69% 0.092 304.3)
XYZxyz(2.7082, 1.6832, 6.4843)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301649 #2F4916
analogous
#161649 #301649 #491648
triadic
#301649 #493016 #164930
tetradic
#301649 #491616 #2F4916 #164849
square
#301649 #491616 #2F4916 #164849
split-complementary
#301649 #484916 #164916
monochromatic
#0F0718 #11081A #301649 #4F2478 #6E32A7

Accessibility & contrast

On white

15.71
#301649 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#301649 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301649
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301649#FFFFFF#000000##FFFFFF
##3016491.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224B
Deuteranopia (green-blind)
#082348
Tritanopia (blue-blind)
#2B212D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #301649;
/* rgb */ color: rgb(48, 22, 73);
/* oklch */ color: oklch(26.7% 0.092 304.3);
Tailwind
colors: {
  custom: {
    50: '#6b557c',
    500: '#301649',
    950: '#000000',
  },
}
SCSS
$custom: #301649;
$custom-light: #6b557c;
$custom-dark: #000000;
JSON
{
  "hex": "#301649",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 73
  },
  "hsl": {
    "h": 270.588,
    "s": 53.684,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2669,
    "c": 0.09208,
    "h": 304.3
  },
  "luminance": 0.01683
}

Semantic roles & 50–950 ramp

primary
#301649
secondary
#5D803A
accent
#DD4B92
background
#F6F5F7
surface
#EBE8EE
border
#C6C4C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #301649

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

Preview Lab → · Contrast checker → · Palette generator →

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