#321645#321645

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

Color values

HEX#321645
RGBrgb(50, 22, 69)
HSLhsl(276, 52%, 18%)
HSVhsv(276, 68%, 27%)
CMYKcmyk(27.5%, 68.1%, 0%, 72.9%)
CIE-LABlab(13.72, 24.02, -24.07)
CIE-LCHlch(13.72, 34.00, 314.94°)
OKLaboklab(26.65% 0.0552 -0.0678)
OKLCHoklch(26.65% 0.087 309.1)
XYZxyz(2.6763, 1.6816, 5.8127)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321645 #294516
analogous
#1B1645 #321645 #451640
triadic
#321645 #453216 #164532
tetradic
#321645 #451B16 #294516 #164045
square
#321645 #451B16 #294516 #164045
split-complementary
#321645 #404516 #16451B
monochromatic
#110717 #110717 #321645 #542573 #7534A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##321645#FFFFFF#000000##FFFFFF
##3216451.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)
#042246
Deuteranopia (green-blind)
#102344
Tritanopia (blue-blind)
#2F1F2B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321645;
/* rgb */ color: rgb(50, 22, 69);
/* oklch */ color: oklch(26.7% 0.087 309.1);
Tailwind
colors: {
  custom: {
    50: '#6c5579',
    500: '#321645',
    950: '#000000',
  },
}
SCSS
$custom: #321645;
$custom-light: #6c5579;
$custom-dark: #000000;
JSON
{
  "hex": "#321645",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 69
  },
  "hsl": {
    "h": 275.745,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2665,
    "c": 0.08745,
    "h": 309.1
  },
  "luminance": 0.01682
}

Semantic roles & 50–950 ramp

primary
#321645
secondary
#557C3A
accent
#DB4D86
background
#F6F5F7
surface
#EBE8ED
border
#C6C4C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #321645

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

Preview Lab → · Contrast checker → · Palette generator →

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