#321468#321468

#321468 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.135 H 292.3°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#321468
RGBrgb(50, 20, 104)
HSLhsl(261, 68%, 24%)
HSVhsv(261, 81%, 41%)
CMYKcmyk(51.9%, 80.8%, 0%, 59.2%)
CIE-LABlab(16.39, 35.20, -43.38)
CIE-LCHlch(16.39, 55.87, 309.06°)
OKLaboklab(29.52% 0.0511 -0.1245)
OKLCHoklch(29.52% 0.135 292.3)
XYZxyz(4.0635, 2.1778, 13.3003)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321468 #4A6814
analogous
#142068 #321468 #5C1468
triadic
#321468 #683214 #146832
tetradic
#321468 #681420 #4A6814 #14685C
square
#321468 #681420 #4A6814 #14685C
split-complementary
#321468 #685C14 #206814
monochromatic
#0C051A #190A35 #321468 #4B1E9B #6328CF

Accessibility & contrast

On white

14.63
#321468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#321468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321468
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321468#FFFFFF#000000##FFFFFF
##3214681.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#202B3D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #321468;
/* rgb */ color: rgb(50, 20, 104);
/* oklch */ color: oklch(29.5% 0.135 292.3);
Tailwind
colors: {
  custom: {
    50: '#715594',
    500: '#321468',
    950: '#000000',
  },
}
SCSS
$custom: #321468;
$custom-light: #715594;
$custom-dark: #000000;
JSON
{
  "hex": "#321468",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 261.429,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29516,
    "c": 0.13462,
    "h": 292.3
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#321468
secondary
#7B9F39
accent
#EB3DAD
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321468

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

Preview Lab → · Contrast checker → · Palette generator →

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