#322261#322261

#322261 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.0% C 0.107 H 290.5°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#322261
RGBrgb(50, 34, 97)
HSLhsl(255, 48%, 26%)
HSVhsv(255, 65%, 38%)
CMYKcmyk(48.5%, 64.9%, 0%, 62%)
CIE-LABlab(18.74, 24.84, -34.96)
CIE-LCHlch(18.74, 42.88, 305.39°)
OKLaboklab(31% 0.0374 -0.0998)
OKLCHoklch(31% 0.107 290.5)
XYZxyz(4.0445, 2.6851, 11.6121)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322261 #516122
analogous
#223161 #322261 #512261
triadic
#322261 #613222 #226132
tetradic
#322261 #612231 #516122 #226151
square
#322261 #612231 #516122 #226151
split-complementary
#322261 #615122 #316122
monochromatic
#0C0817 #1B1234 #322261 #49328E #6142BC

Accessibility & contrast

On white

13.66
#322261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#322261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322261
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322261#FFFFFF#000000##FFFFFF
##3222611.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F63
Deuteranopia (green-blind)
#002C60
Tritanopia (blue-blind)
#24303E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #322261;
/* rgb */ color: rgb(50, 34, 97);
/* oklch */ color: oklch(31.0% 0.107 290.5);
Tailwind
colors: {
  custom: {
    50: '#6e5e8e',
    500: '#322261',
    950: '#000000',
  },
}
SCSS
$custom: #322261;
$custom-light: #6e5e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#322261",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 97
  },
  "hsl": {
    "h": 255.238,
    "s": 48.092,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30996,
    "c": 0.1066,
    "h": 290.5
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#322261
secondary
#82954A
accent
#D850B5
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #322261

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

Preview Lab → · Contrast checker → · Palette generator →

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