#322263#322263

#322263 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.2% C 0.109 H 289.9°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#322263
RGBrgb(50, 34, 99)
HSLhsl(255, 49%, 26%)
HSVhsv(255, 66%, 39%)
CMYKcmyk(49.5%, 65.7%, 0%, 61.2%)
CIE-LABlab(18.90, 25.49, -36.01)
CIE-LCHlch(18.90, 44.12, 305.29°)
OKLaboklab(31.17% 0.0372 -0.1029)
OKLCHoklch(31.17% 0.109 289.9)
XYZxyz(4.1389, 2.7229, 12.1094)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322263 #536322
analogous
#223263 #322263 #522263
triadic
#322263 #633222 #226332
tetradic
#322263 #632232 #536322 #226352
square
#322263 #632232 #536322 #226352
split-complementary
#322263 #635222 #326322
monochromatic
#0C0817 #1B1235 #322263 #493291 #6041BE

Accessibility & contrast

On white

13.60
#322263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322263
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322263#FFFFFF#000000##FFFFFF
##3222631.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F65
Deuteranopia (green-blind)
#002C62
Tritanopia (blue-blind)
#23313F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #322263;
/* rgb */ color: rgb(50, 34, 99);
/* oklch */ color: oklch(31.2% 0.109 289.9);
Tailwind
colors: {
  custom: {
    50: '#6e5e90',
    500: '#322263',
    950: '#000000',
  },
}
SCSS
$custom: #322263;
$custom-light: #6e5e90;
$custom-dark: #000000;
JSON
{
  "hex": "#322263",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 254.769,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31165,
    "c": 0.10946,
    "h": 289.9
  },
  "luminance": 0.02723
}

Semantic roles & 50–950 ramp

primary
#322263
secondary
#84974A
accent
#D84FB7
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #322263

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

Preview Lab → · Contrast checker → · Palette generator →

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