#321448#321448

#321448 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.095 H 307.7°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#321448
RGBrgb(50, 20, 72)
HSLhsl(275, 57%, 18%)
HSVhsv(275, 72%, 28%)
CMYKcmyk(30.6%, 72.2%, 0%, 71.8%)
CIE-LABlab(13.51, 26.02, -26.49)
CIE-LCHlch(13.51, 37.13, 314.49°)
OKLaboklab(26.57% 0.0579 -0.0749)
OKLCHoklch(26.57% 0.095 307.7)
XYZxyz(2.7350, 1.6463, 6.3033)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321448 #2A4814
analogous
#181448 #321448 #481444
triadic
#321448 #483214 #144832
tetradic
#321448 #481814 #2A4814 #144448
square
#321448 #481814 #2A4814 #144448
split-complementary
#321448 #444814 #144818
monochromatic
#110718 #110718 #321448 #532178 #752FA8

Accessibility & contrast

On white

15.80
#321448 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#321448 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321448
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321448#FFFFFF#000000##FFFFFF
##3214481.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#0A2347
Tritanopia (blue-blind)
#2F1F2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321448;
/* rgb */ color: rgb(50, 20, 72);
/* oklch */ color: oklch(26.6% 0.095 307.7);
Tailwind
colors: {
  custom: {
    50: '#6c547b',
    500: '#321448',
    950: '#000000',
  },
}
SCSS
$custom: #321448;
$custom-light: #6c547b;
$custom-dark: #000000;
JSON
{
  "hex": "#321448",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 72
  },
  "hsl": {
    "h": 274.615,
    "s": 56.522,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26571,
    "c": 0.09469,
    "h": 307.7
  },
  "luminance": 0.01646
}

Semantic roles & 50–950 ramp

primary
#321448
secondary
#568038
accent
#E04888
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #321448

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

Preview Lab → · Contrast checker → · Palette generator →

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