#321459#321459

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

Color values

HEX#321459
RGBrgb(50, 20, 89)
HSLhsl(266, 63%, 21%)
HSVhsv(266, 78%, 35%)
CMYKcmyk(43.8%, 77.5%, 0%, 65.1%)
CIE-LABlab(14.95, 30.82, -35.77)
CIE-LCHlch(14.95, 47.22, 310.75°)
OKLaboklab(28.06% 0.0552 -0.1022)
OKLCHoklch(28.06% 0.116 298.4)
XYZxyz(3.3683, 1.8996, 9.6385)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321459 #3B5914
analogous
#141959 #321459 #551459
triadic
#321459 #593214 #145932
tetradic
#321459 #591419 #3B5914 #145955
square
#321459 #591419 #3B5914 #145955
split-complementary
#321459 #595514 #195914
monochromatic
#0E0619 #160927 #321459 #4E1F8B #6A2ABD

Accessibility & contrast

On white

15.22
#321459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321459
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321459#FFFFFF#000000##FFFFFF
##3214591.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002558
Tritanopia (blue-blind)
#282535
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #321459;
/* rgb */ color: rgb(50, 20, 89);
/* oklch */ color: oklch(28.1% 0.116 298.4);
Tailwind
colors: {
  custom: {
    50: '#6e5488',
    500: '#321459',
    950: '#000000',
  },
}
SCSS
$custom: #321459;
$custom-light: #6e5488;
$custom-dark: #000000;
JSON
{
  "hex": "#321459",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 89
  },
  "hsl": {
    "h": 266.087,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28056,
    "c": 0.11615,
    "h": 298.4
  },
  "luminance": 0.019
}

Semantic roles & 50–950 ramp

primary
#321459
secondary
#6A9138
accent
#E6419F
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #321459

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

Preview Lab → · Contrast checker → · Palette generator →

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