#321C53#321C53

#321C53 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.8% C 0.096 H 298.6°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#321C53
RGBrgb(50, 28, 83)
HSLhsl(264, 50%, 22%)
HSVhsv(264, 66%, 33%)
CMYKcmyk(39.8%, 66.3%, 0%, 67.5%)
CIE-LABlab(16.17, 24.31, -29.74)
CIE-LCHlch(16.17, 38.41, 309.26°)
OKLaboklab(28.77% 0.0461 -0.0845)
OKLCHoklch(28.77% 0.096 298.6)
XYZxyz(3.2916, 2.1331, 8.4203)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321C53 #3D531C
analogous
#1C2253 #321C53 #4E1C53
triadic
#321C53 #53321C #1C5332
tetradic
#321C53 #531C22 #3D531C #1C534E
square
#321C53 #531C22 #3D531C #1C534E
split-complementary
#321C53 #534E1C #22531C
monochromatic
#0E0817 #160D25 #321C53 #4E2B81 #693BAF

Accessibility & contrast

On white

14.72
#321C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#321C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321C53
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321C53#FFFFFF#000000##FFFFFF
##321C531.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#072852
Tritanopia (blue-blind)
#2B2834
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #321c53;
/* rgb */ color: rgb(50, 28, 83);
/* oklch */ color: oklch(28.8% 0.096 298.6);
Tailwind
colors: {
  custom: {
    50: '#6d5984',
    500: '#321c53',
    950: '#000000',
  },
}
SCSS
$custom: #321c53;
$custom-light: #6d5984;
$custom-dark: #000000;
JSON
{
  "hex": "#321c53",
  "rgb": {
    "r": 50,
    "g": 28,
    "b": 83
  },
  "hsl": {
    "h": 264,
    "s": 49.55,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28773,
    "c": 0.09625,
    "h": 298.6
  },
  "luminance": 0.02133
}

Semantic roles & 50–950 ramp

primary
#321C53
secondary
#6C8942
accent
#D94FA2
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #321C53

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

Preview Lab → · Contrast checker → · Palette generator →

#321C53 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva