#321867#321867

#321867 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.129 H 291.7°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#321867
RGBrgb(50, 24, 103)
HSLhsl(260, 62%, 25%)
HSVhsv(260, 77%, 40%)
CMYKcmyk(51.5%, 76.7%, 0%, 59.6%)
CIE-LABlab(17.04, 32.80, -41.67)
CIE-LCHlch(17.04, 53.03, 308.20°)
OKLaboklab(29.94% 0.0477 -0.1195)
OKLCHoklch(29.94% 0.129 291.7)
XYZxyz(4.0895, 2.3105, 13.0598)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321867 #4D6718
analogous
#182567 #321867 #5A1867
triadic
#321867 #673218 #186732
tetradic
#321867 #671825 #4D6718 #18675A
square
#321867 #671825 #4D6718 #18675A
split-complementary
#321867 #675A18 #256718
monochromatic
#0C0619 #1A0C35 #321867 #4A2499 #622FCA

Accessibility & contrast

On white

14.36
#321867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#321867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321867
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321867#FFFFFF#000000##FFFFFF
##3218671.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002865
Tritanopia (blue-blind)
#212D3E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #321867;
/* rgb */ color: rgb(50, 24, 103);
/* oklch */ color: oklch(29.9% 0.129 291.7);
Tailwind
colors: {
  custom: {
    50: '#705793',
    500: '#321867',
    950: '#000000',
  },
}
SCSS
$custom: #321867;
$custom-light: #705793;
$custom-dark: #000000;
JSON
{
  "hex": "#321867",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 259.747,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.2994,
    "c": 0.12871,
    "h": 291.7
  },
  "luminance": 0.02311
}

Semantic roles & 50–950 ramp

primary
#321867
secondary
#7E9D3E
accent
#E543B0
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321867

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

Preview Lab → · Contrast checker → · Palette generator →

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