#321C6A#321C6A

#321C6A is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.128 H 289.7°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#321C6A
RGBrgb(50, 28, 106)
HSLhsl(257, 58%, 26%)
HSVhsv(257, 74%, 42%)
CMYKcmyk(52.8%, 73.6%, 0%, 58.4%)
CIE-LABlab(18.14, 31.44, -41.84)
CIE-LCHlch(18.14, 52.34, 306.93°)
OKLaboklab(30.81% 0.043 -0.1201)
OKLCHoklch(30.81% 0.128 289.7)
XYZxyz(4.3314, 2.5490, 13.8967)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321C6A #546A1C
analogous
#1C2D6A #321C6A #591C6A
triadic
#321C6A #6A321C #1C6A32
tetradic
#321C6A #6A1C2D #546A1C #1C6A59
square
#321C6A #6A1C2D #546A1C #1C6A59
split-complementary
#321C6A #6A591C #2D6A1C
monochromatic
#0B0618 #1B0F3A #321C6A #49299A #6036CA

Accessibility & contrast

On white

13.91
#321C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#321C6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321C6A
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321C6A#FFFFFF#000000##FFFFFF
##321C6A1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002A68
Tritanopia (blue-blind)
#1F3040
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #321c6a;
/* rgb */ color: rgb(50, 28, 106);
/* oklch */ color: oklch(30.8% 0.128 289.7);
Tailwind
colors: {
  custom: {
    50: '#705a95',
    500: '#321c6a',
    950: '#000000',
  },
}
SCSS
$custom: #321c6a;
$custom-light: #705a95;
$custom-dark: #000000;
JSON
{
  "hex": "#321c6a",
  "rgb": {
    "r": 50,
    "g": 28,
    "b": 106
  },
  "hsl": {
    "h": 256.923,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30809,
    "c": 0.12753,
    "h": 289.7
  },
  "luminance": 0.02549
}

Semantic roles & 50–950 ramp

primary
#321C6A
secondary
#859F43
accent
#E146B6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #321C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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