#321A61#321A61

#321A61 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.7% C 0.118 H 293.3°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#321A61
RGBrgb(50, 26, 97)
HSLhsl(260, 58%, 24%)
HSVhsv(260, 73%, 38%)
CMYKcmyk(48.5%, 73.2%, 0%, 62%)
CIE-LABlab(16.89, 29.82, -37.95)
CIE-LCHlch(16.89, 48.26, 308.16°)
OKLaboklab(29.66% 0.0469 -0.1086)
OKLCHoklch(29.66% 0.118 293.3)
XYZxyz(3.8419, 2.2799, 11.5446)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321A61 #49611A
analogous
#1A2661 #321A61 #561A61
triadic
#321A61 #61321A #1A6132
tetradic
#321A61 #611A26 #49611A #1A6156
square
#321A61 #611A26 #49611A #1A6156
split-complementary
#321A61 #61561A #26611A
monochromatic
#0C0618 #190D31 #321A61 #4B2791 #6434C2

Accessibility & contrast

On white

14.42
#321A61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#321A61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321A61
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321A61#FFFFFF#000000##FFFFFF
##321A611.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002860
Tritanopia (blue-blind)
#242C3B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #321a61;
/* rgb */ color: rgb(50, 26, 97);
/* oklch */ color: oklch(29.7% 0.118 293.3);
Tailwind
colors: {
  custom: {
    50: '#6f588f',
    500: '#321a61',
    950: '#000000',
  },
}
SCSS
$custom: #321a61;
$custom-light: #6f588f;
$custom-dark: #000000;
JSON
{
  "hex": "#321a61",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 97
  },
  "hsl": {
    "h": 260.282,
    "s": 57.724,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29663,
    "c": 0.11832,
    "h": 293.3
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#321A61
secondary
#799740
accent
#E147AD
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #321A61

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

Preview Lab → · Contrast checker → · Palette generator →

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