#361362#361362

#361362 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.129 H 298.0°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#361362
RGBrgb(54, 19, 98)
HSLhsl(267, 68%, 23%)
HSVhsv(267, 81%, 38%)
CMYKcmyk(44.9%, 80.6%, 0%, 61.6%)
CIE-LABlab(16.16, 34.67, -39.78)
CIE-LCHlch(16.16, 52.77, 311.08°)
OKLaboklab(29.29% 0.0604 -0.1138)
OKLCHoklch(29.29% 0.129 298)
XYZxyz(3.9582, 2.1318, 11.7558)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361362 #3F6213
analogous
#131862 #361362 #5D1362
triadic
#361362 #623613 #136236
tetradic
#361362 #621318 #3F6213 #13625D
square
#361362 #621318 #3F6213 #13625D
split-complementary
#361362 #625D13 #186213
monochromatic
#0E051A #1A092F #361362 #521D95 #6E27C9

Accessibility & contrast

On white

14.72
#361362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#361362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361362
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361362#FFFFFF#000000##FFFFFF
##3613621.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002864
Deuteranopia (green-blind)
#002760
Tritanopia (blue-blind)
#2B283A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #361362;
/* rgb */ color: rgb(54, 19, 98);
/* oklch */ color: oklch(29.3% 0.129 298.0);
Tailwind
colors: {
  custom: {
    50: '#72558f',
    500: '#361362',
    950: '#000000',
  },
}
SCSS
$custom: #361362;
$custom-light: #72558f;
$custom-dark: #000000;
JSON
{
  "hex": "#361362",
  "rgb": {
    "r": 54,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 266.582,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29294,
    "c": 0.12886,
    "h": 298
  },
  "luminance": 0.02132
}

Semantic roles & 50–950 ramp

primary
#361362
secondary
#6E9A37
accent
#EA3D9E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #361362

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

Preview Lab → · Contrast checker → · Palette generator →

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