#321C6D#321C6D

#321C6D is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.131 H 288.8°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#321C6D
RGBrgb(50, 28, 109)
HSLhsl(256, 59%, 27%)
HSVhsv(256, 74%, 43%)
CMYKcmyk(54.1%, 74.3%, 0%, 57.3%)
CIE-LABlab(18.42, 32.39, -43.33)
CIE-LCHlch(18.42, 54.10, 306.78°)
OKLaboklab(31.1% 0.0424 -0.1244)
OKLCHoklch(31.1% 0.131 288.8)
XYZxyz(4.4902, 2.6125, 14.7327)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321C6D #576D1C
analogous
#1C2F6D #321C6D #5B1C6D
triadic
#321C6D #6D321C #1C6D32
tetradic
#321C6D #6D1C2F #576D1C #1C6D5B
square
#321C6D #6D1C2F #576D1C #1C6D5B
split-complementary
#321C6D #6D5B1C #2F6D1C
monochromatic
#0B0618 #1C0F3C #321C6D #48299E #6038CC

Accessibility & contrast

On white

13.79
#321C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#321C6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321C6D
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321C6D#FFFFFF#000000##FFFFFF
##321C6D1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#002B6B
Tritanopia (blue-blind)
#1C3142
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #321c6d;
/* rgb */ color: rgb(50, 28, 109);
/* oklch */ color: oklch(31.1% 0.131 288.8);
Tailwind
colors: {
  custom: {
    50: '#715a98',
    500: '#321c6d',
    950: '#000000',
  },
}
SCSS
$custom: #321c6d;
$custom-light: #715a98;
$custom-dark: #000000;
JSON
{
  "hex": "#321c6d",
  "rgb": {
    "r": 50,
    "g": 28,
    "b": 109
  },
  "hsl": {
    "h": 256.296,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31096,
    "c": 0.13146,
    "h": 288.8
  },
  "luminance": 0.02613
}

Semantic roles & 50–950 ramp

primary
#321C6D
secondary
#88A243
accent
#E245B8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #321C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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