#361261#361261

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

Color values

HEX#361261
RGBrgb(54, 18, 97)
HSLhsl(267, 69%, 23%)
HSVhsv(267, 81%, 38%)
CMYKcmyk(44.3%, 81.4%, 0%, 62%)
CIE-LABlab(15.90, 34.87, -39.55)
CIE-LCHlch(15.90, 52.73, 311.41°)
OKLaboklab(29.08% 0.0617 -0.1131)
OKLCHoklch(29.08% 0.129 298.6)
XYZxyz(3.8947, 2.0799, 11.5032)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361261 #3D6112
analogous
#121561 #361261 #5E1261
triadic
#361261 #613612 #126136
tetradic
#361261 #611215 #3D6112 #12615E
square
#361261 #611215 #3D6112 #12615E
split-complementary
#361261 #615E12 #156112
monochromatic
#0E051A #19082D #361261 #531C95 #6F25C8

Accessibility & contrast

On white

14.83
#361261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#361261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361261
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361261#FFFFFF#000000##FFFFFF
##3612611.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002863
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#2B2739
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #361261;
/* rgb */ color: rgb(54, 18, 97);
/* oklch */ color: oklch(29.1% 0.129 298.6);
Tailwind
colors: {
  custom: {
    50: '#72548f',
    500: '#361261',
    950: '#000000',
  },
}
SCSS
$custom: #361261;
$custom-light: #72548f;
$custom-dark: #000000;
JSON
{
  "hex": "#361261",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 97
  },
  "hsl": {
    "h": 267.342,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.2908,
    "c": 0.12884,
    "h": 298.6
  },
  "luminance": 0.0208
}

Semantic roles & 50–950 ramp

primary
#361261
secondary
#6C9936
accent
#EC3C9C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #361261

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

Preview Lab → · Contrast checker → · Palette generator →

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