#321656#321656

#321656 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.110 H 299.2°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#321656
RGBrgb(50, 22, 86)
HSLhsl(266, 59%, 21%)
HSVhsv(266, 74%, 34%)
CMYKcmyk(41.9%, 74.4%, 0%, 66.3%)
CIE-LABlab(15.08, 28.84, -33.53)
CIE-LCHlch(15.08, 44.23, 310.69°)
OKLaboklab(28.07% 0.0535 -0.0956)
OKLCHoklch(28.07% 0.11 299.2)
XYZxyz(3.2816, 1.9238, 9.0007)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321656 #3A5616
analogous
#161A56 #321656 #521656
triadic
#321656 #563216 #165632
tetradic
#321656 #56161A #3A5616 #165652
square
#321656 #56161A #3A5616 #165652
split-complementary
#321656 #565216 #1A5616
monochromatic
#0E0618 #160A25 #321656 #4E2287 #6B2FB7

Accessibility & contrast

On white

15.16
#321656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#321656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321656
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321656#FFFFFF#000000##FFFFFF
##3216561.0015.161.3815.16
#FFFFFF15.161.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#002555
Tritanopia (blue-blind)
#2A2534
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #321656;
/* rgb */ color: rgb(50, 22, 86);
/* oklch */ color: oklch(28.1% 0.110 299.2);
Tailwind
colors: {
  custom: {
    50: '#6e5586',
    500: '#321656',
    950: '#000000',
  },
}
SCSS
$custom: #321656;
$custom-light: #6e5586;
$custom-dark: #000000;
JSON
{
  "hex": "#321656",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 266.25,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28065,
    "c": 0.10958,
    "h": 299.2
  },
  "luminance": 0.01924
}

Semantic roles & 50–950 ramp

primary
#321656
secondary
#698D3A
accent
#E2459E
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #321656

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

Preview Lab → · Contrast checker → · Palette generator →

#321656 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva