#321C6F#321C6F

#321C6F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.3% C 0.134 H 288.2°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#321C6F
RGBrgb(50, 28, 111)
HSLhsl(256, 60%, 27%)
HSVhsv(256, 75%, 44%)
CMYKcmyk(55%, 74.8%, 0%, 56.5%)
CIE-LABlab(18.61, 33.02, -44.32)
CIE-LCHlch(18.61, 55.26, 306.68°)
OKLaboklab(31.29% 0.0419 -0.1273)
OKLCHoklch(31.29% 0.134 288.2)
XYZxyz(4.5990, 2.6561, 15.3062)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321C6F #596F1C
analogous
#1C2F6F #321C6F #5C1C6F
triadic
#321C6F #6F321C #1C6F32
tetradic
#321C6F #6F1C2F #596F1C #1C6F5C
square
#321C6F #6F1C2F #596F1C #1C6F5C
split-complementary
#321C6F #6F5C1C #2F6F1C
monochromatic
#0B0618 #1C103E #321C6F #4828A0 #6038CD

Accessibility & contrast

On white

13.71
#321C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#321C6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321C6F
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321C6F#FFFFFF#000000##FFFFFF
##321C6F1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#1B3243
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #321c6f;
/* rgb */ color: rgb(50, 28, 111);
/* oklch */ color: oklch(31.3% 0.134 288.2);
Tailwind
colors: {
  custom: {
    50: '#715a99',
    500: '#321c6f',
    950: '#000000',
  },
}
SCSS
$custom: #321c6f;
$custom-light: #715a99;
$custom-dark: #000000;
JSON
{
  "hex": "#321c6f",
  "rgb": {
    "r": 50,
    "g": 28,
    "b": 111
  },
  "hsl": {
    "h": 255.904,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3129,
    "c": 0.13407,
    "h": 288.2
  },
  "luminance": 0.02656
}

Semantic roles & 50–950 ramp

primary
#321C6F
secondary
#8AA443
accent
#E345B9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #321C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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