#321144#321144

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

Color values

HEX#321144
RGBrgb(50, 17, 68)
HSLhsl(279, 60%, 17%)
HSVhsv(279, 75%, 27%)
CMYKcmyk(26.5%, 75%, 0%, 73.3%)
CIE-LABlab(12.59, 26.65, -25.19)
CIE-LCHlch(12.59, 36.67, 316.61°)
OKLaboklab(25.81% 0.0624 -0.0711)
OKLCHoklch(25.81% 0.095 311.3)
XYZxyz(2.5590, 1.4964, 5.6218)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321144 #234411
analogous
#191144 #321144 #44113D
triadic
#321144 #443211 #114432
tetradic
#321144 #441911 #234411 #113D44
square
#321144 #441911 #234411 #113D44
split-complementary
#321144 #3D4411 #114419
monochromatic
#120618 #120618 #321144 #561D75 #7A29A6

Accessibility & contrast

On white

16.16
#321144 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321144
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321144#FFFFFF#000000##FFFFFF
##3211441.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F46
Deuteranopia (green-blind)
#0B2143
Tritanopia (blue-blind)
#301B28
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #321144;
/* rgb */ color: rgb(50, 17, 68);
/* oklch */ color: oklch(25.8% 0.095 311.3);
Tailwind
colors: {
  custom: {
    50: '#6c5278',
    500: '#321144',
    950: '#000000',
  },
}
SCSS
$custom: #321144;
$custom-light: #6c5278;
$custom-dark: #000000;
JSON
{
  "hex": "#321144",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 68
  },
  "hsl": {
    "h": 278.824,
    "s": 60,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25807,
    "c": 0.09455,
    "h": 311.3
  },
  "luminance": 0.01496
}

Semantic roles & 50–950 ramp

primary
#321144
secondary
#4D7E33
accent
#E3457D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #321144

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

Preview Lab → · Contrast checker → · Palette generator →

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