#321859#321859

#321859 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.6% C 0.111 H 297.2°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#321859
RGBrgb(50, 24, 89)
HSLhsl(264, 58%, 22%)
HSVhsv(264, 73%, 35%)
CMYKcmyk(43.8%, 73%, 0%, 65.1%)
CIE-LABlab(15.76, 28.57, -34.45)
CIE-LCHlch(15.76, 44.75, 309.66°)
OKLaboklab(28.63% 0.0506 -0.0984)
OKLCHoklch(28.63% 0.111 297.2)
XYZxyz(3.4447, 2.0526, 9.6640)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321859 #3F5918
analogous
#181F59 #321859 #531859
triadic
#321859 #593218 #185932
tetradic
#321859 #59181F #3F5918 #185953
square
#321859 #59181F #3F5918 #185953
split-complementary
#321859 #595318 #1F5918
monochromatic
#0E0618 #170B29 #321859 #4D2589 #6832B9

Accessibility & contrast

On white

14.89
#321859 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#321859 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321859
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321859#FFFFFF#000000##FFFFFF
##3218591.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002658
Tritanopia (blue-blind)
#282736
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #321859;
/* rgb */ color: rgb(50, 24, 89);
/* oklch */ color: oklch(28.6% 0.111 297.2);
Tailwind
colors: {
  custom: {
    50: '#6e5788',
    500: '#321859',
    950: '#000000',
  },
}
SCSS
$custom: #321859;
$custom-light: #6e5788;
$custom-dark: #000000;
JSON
{
  "hex": "#321859",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 89
  },
  "hsl": {
    "h": 264,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28633,
    "c": 0.1106,
    "h": 297.2
  },
  "luminance": 0.02053
}

Semantic roles & 50–950 ramp

primary
#321859
secondary
#6F903D
accent
#E147A3
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030B
muted
#7A787C

Preview Lab

Preview with #321859

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

Preview Lab → · Contrast checker → · Palette generator →

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