#361671#361671

#361671 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.143 H 291.8°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#361671
RGBrgb(54, 22, 113)
HSLhsl(261, 67%, 26%)
HSVhsv(261, 81%, 44%)
CMYKcmyk(52.2%, 80.5%, 0%, 55.7%)
CIE-LABlab(18.14, 37.49, -46.36)
CIE-LCHlch(18.14, 59.62, 308.96°)
OKLaboklab(31.13% 0.0533 -0.1331)
OKLCHoklch(31.13% 0.143 291.8)
XYZxyz(4.7880, 2.5502, 15.8595)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361671 #517116
analogous
#162471 #361671 #641671
triadic
#361671 #713616 #167136
tetradic
#361671 #711624 #517116 #167164
square
#361671 #711624 #517116 #167164
split-complementary
#361671 #716416 #247116
monochromatic
#0C051A #1E0C3E #361671 #4E20A4 #672CD6

Accessibility & contrast

On white

13.91
#361671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#361671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361671
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361671#FFFFFF#000000##FFFFFF
##3616711.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#002A6F
Tritanopia (blue-blind)
#222F43
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #361671;
/* rgb */ color: rgb(54, 22, 113);
/* oklch */ color: oklch(31.1% 0.143 291.8);
Tailwind
colors: {
  custom: {
    50: '#74579b',
    500: '#361671',
    950: '#000000',
  },
}
SCSS
$custom: #361671;
$custom-light: #74579b;
$custom-dark: #000000;
JSON
{
  "hex": "#361671",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 261.099,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3113,
    "c": 0.14339,
    "h": 291.8
  },
  "luminance": 0.0255
}

Semantic roles & 50–950 ramp

primary
#361671
secondary
#81A73C
accent
#EA3EAE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #361671

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

Preview Lab → · Contrast checker → · Palette generator →

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