#361661#361661

#361661 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.124 H 297.7°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#361661
RGBrgb(54, 22, 97)
HSLhsl(266, 63%, 23%)
HSVhsv(266, 77%, 38%)
CMYKcmyk(44.3%, 77.3%, 0%, 62%)
CIE-LABlab(16.61, 32.86, -38.39)
CIE-LCHlch(16.61, 50.54, 310.56°)
OKLaboklab(29.58% 0.0577 -0.1098)
OKLCHoklch(29.58% 0.124 297.7)
XYZxyz(3.9653, 2.2211, 11.5267)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361661 #416116
analogous
#161B61 #361661 #5B1661
triadic
#361661 #613616 #166136
tetradic
#361661 #61161B #416116 #16615B
square
#361661 #61161B #416116 #16615B
split-complementary
#361661 #615B16 #1B6116
monochromatic
#0E0619 #1A0B2F #361661 #522193 #6E2DC5

Accessibility & contrast

On white

14.54
#361661 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361661
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361661#FFFFFF#000000##FFFFFF
##3616611.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#002860
Tritanopia (blue-blind)
#2B293A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #361661;
/* rgb */ color: rgb(54, 22, 97);
/* oklch */ color: oklch(29.6% 0.124 297.7);
Tailwind
colors: {
  custom: {
    50: '#72568f',
    500: '#361661',
    950: '#000000',
  },
}
SCSS
$custom: #361661;
$custom-light: #72568f;
$custom-dark: #000000;
JSON
{
  "hex": "#361661",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 97
  },
  "hsl": {
    "h": 265.6,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29577,
    "c": 0.124,
    "h": 297.7
  },
  "luminance": 0.02221
}

Semantic roles & 50–950 ramp

primary
#361661
secondary
#70983B
accent
#E642A0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #361661

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

Preview Lab → · Contrast checker → · Palette generator →

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