#361672#361672

#361672 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.145 H 291.5°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#361672
RGBrgb(54, 22, 114)
HSLhsl(261, 68%, 27%)
HSVhsv(261, 81%, 45%)
CMYKcmyk(52.6%, 80.7%, 0%, 55.3%)
CIE-LABlab(18.24, 37.78, -46.84)
CIE-LCHlch(18.24, 60.18, 308.89°)
OKLaboklab(31.23% 0.0529 -0.1345)
OKLCHoklch(31.23% 0.145 291.5)
XYZxyz(4.8446, 2.5728, 16.1577)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361672 #527216
analogous
#162472 #361672 #641672
triadic
#361672 #723616 #167236
tetradic
#361672 #721624 #527216 #167264
square
#361672 #721624 #527216 #167264
split-complementary
#361672 #726416 #247216
monochromatic
#0C051A #1E0C3F #361672 #4E20A5 #672CD6

Accessibility & contrast

On white

13.87
#361672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361672
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361672#FFFFFF#000000##FFFFFF
##3616721.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002B70
Tritanopia (blue-blind)
#223043
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #361672;
/* rgb */ color: rgb(54, 22, 114);
/* oklch */ color: oklch(31.2% 0.145 291.5);
Tailwind
colors: {
  custom: {
    50: '#74579b',
    500: '#361672',
    950: '#000000',
  },
}
SCSS
$custom: #361672;
$custom-light: #74579b;
$custom-dark: #000000;
JSON
{
  "hex": "#361672",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 260.87,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31231,
    "c": 0.14459,
    "h": 291.5
  },
  "luminance": 0.02573
}

Semantic roles & 50–950 ramp

primary
#361672
secondary
#82A83C
accent
#EB3DAE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #361672

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

Preview Lab → · Contrast checker → · Palette generator →

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