#321853#321853

#321853 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.1% C 0.103 H 300.1°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#321853
RGBrgb(50, 24, 83)
HSLhsl(266, 55%, 21%)
HSVhsv(266, 71%, 33%)
CMYKcmyk(39.8%, 71.1%, 0%, 67.5%)
CIE-LABlab(15.25, 26.79, -31.22)
CIE-LCHlch(15.25, 41.14, 310.63°)
OKLaboklab(28.11% 0.0514 -0.0888)
OKLCHoklch(28.11% 0.103 300.1)
XYZxyz(3.2030, 1.9559, 8.3907)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321853 #395318
analogous
#181B53 #321853 #4F1853
triadic
#321853 #533218 #185332
tetradic
#321853 #53181B #395318 #18534F
square
#321853 #53181B #395318 #18534F
split-complementary
#321853 #534F18 #1B5318
monochromatic
#0E0718 #150A24 #321853 #4F2682 #6B33B2

Accessibility & contrast

On white

15.09
#321853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#321853 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321853
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321853#FFFFFF#000000##FFFFFF
##3218531.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#002652
Tritanopia (blue-blind)
#2B2533
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #321853;
/* rgb */ color: rgb(50, 24, 83);
/* oklch */ color: oklch(28.1% 0.103 300.1);
Tailwind
colors: {
  custom: {
    50: '#6d5784',
    500: '#321853',
    950: '#000000',
  },
}
SCSS
$custom: #321853;
$custom-light: #6d5784;
$custom-dark: #000000;
JSON
{
  "hex": "#321853",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 83
  },
  "hsl": {
    "h": 266.441,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28109,
    "c": 0.10267,
    "h": 300.1
  },
  "luminance": 0.01956
}

Semantic roles & 50–950 ramp

primary
#321853
secondary
#688A3D
accent
#DE499D
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #321853

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

Preview Lab → · Contrast checker → · Palette generator →

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