#321C50#321C50

#321C50 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.5% C 0.092 H 300.1°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#321C50
RGBrgb(50, 28, 80)
HSLhsl(265, 48%, 21%)
HSVhsv(265, 65%, 31%)
CMYKcmyk(37.5%, 65%, 0%, 68.6%)
CIE-LABlab(15.94, 23.41, -28.07)
CIE-LCHlch(15.94, 36.55, 309.82°)
OKLaboklab(28.53% 0.0462 -0.0796)
OKLCHoklch(28.53% 0.092 300.1)
XYZxyz(3.1783, 2.0878, 7.8234)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321C50 #3A501C
analogous
#1C2050 #321C50 #4C1C50
triadic
#321C50 #50321C #1C5032
tetradic
#321C50 #501C20 #3A501C #1C504C
square
#321C50 #501C20 #3A501C #1C504C
split-complementary
#321C50 #504C1C #20501C
monochromatic
#0E0817 #160C23 #321C50 #4E2C7D #6B3CAB

Accessibility & contrast

On white

14.81
#321C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#321C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321C50
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321C50#FFFFFF#000000##FFFFFF
##321C501.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022752
Deuteranopia (green-blind)
#0B274F
Tritanopia (blue-blind)
#2C2733
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #321c50;
/* rgb */ color: rgb(50, 28, 80);
/* oklch */ color: oklch(28.5% 0.092 300.1);
Tailwind
colors: {
  custom: {
    50: '#6c5981',
    500: '#321c50',
    950: '#000000',
  },
}
SCSS
$custom: #321c50;
$custom-light: #6c5981;
$custom-dark: #000000;
JSON
{
  "hex": "#321c50",
  "rgb": {
    "r": 50,
    "g": 28,
    "b": 80
  },
  "hsl": {
    "h": 265.385,
    "s": 48.148,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28532,
    "c": 0.09203,
    "h": 300.1
  },
  "luminance": 0.02088
}

Semantic roles & 50–950 ramp

primary
#321C50
secondary
#698642
accent
#D8509E
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #321C50

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

Preview Lab → · Contrast checker → · Palette generator →

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