#321145#321145

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

Color values

HEX#321145
RGBrgb(50, 17, 69)
HSLhsl(278, 60%, 17%)
HSVhsv(278, 75%, 27%)
CMYKcmyk(27.5%, 75.4%, 0%, 72.9%)
CIE-LABlab(12.66, 26.91, -25.76)
CIE-LCHlch(12.66, 37.25, 316.25°)
OKLaboklab(25.89% 0.0623 -0.0728)
OKLCHoklch(25.89% 0.096 310.5)
XYZxyz(2.5898, 1.5087, 5.7839)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321145 #244511
analogous
#181145 #321145 #45113E
triadic
#321145 #453211 #114532
tetradic
#321145 #451811 #244511 #113E45
square
#321145 #451811 #244511 #113E45
split-complementary
#321145 #3E4511 #114518
monochromatic
#120619 #120619 #321145 #561D76 #7929A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##321145#FFFFFF#000000##FFFFFF
##3211451.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)
#001F47
Deuteranopia (green-blind)
#0A2144
Tritanopia (blue-blind)
#2F1C29
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #321145;
/* rgb */ color: rgb(50, 17, 69);
/* oklch */ color: oklch(25.9% 0.096 310.5);
Tailwind
colors: {
  custom: {
    50: '#6c5279',
    500: '#321145',
    950: '#000000',
  },
}
SCSS
$custom: #321145;
$custom-light: #6c5279;
$custom-dark: #000000;
JSON
{
  "hex": "#321145",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 278.077,
    "s": 60.465,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25888,
    "c": 0.09576,
    "h": 310.5
  },
  "luminance": 0.01509
}

Semantic roles & 50–950 ramp

primary
#321145
secondary
#4F7F33
accent
#E4447E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #321145

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

Preview Lab → · Contrast checker → · Palette generator →

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