#361173#361173

#361173 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.151 H 292.0°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#361173
RGBrgb(54, 17, 115)
HSLhsl(263, 74%, 26%)
HSVhsv(263, 85%, 45%)
CMYKcmyk(53%, 85.2%, 0%, 54.9%)
CIE-LABlab(17.57, 40.33, -48.61)
CIE-LCHlch(17.57, 63.16, 309.69°)
OKLaboklab(30.79% 0.0564 -0.1397)
OKLCHoklch(30.79% 0.151 292)
XYZxyz(4.8154, 2.4228, 16.4303)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361173 #4E7311
analogous
#111D73 #361173 #671173
triadic
#361173 #733611 #117336
tetradic
#361173 #73111D #4E7311 #117367
square
#361173 #73111D #4E7311 #117367
split-complementary
#361173 #736711 #1D7311
monochromatic
#0D041B #1D093E #361173 #4F19A8 #6821DE

Accessibility & contrast

On white

14.15
#361173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#361173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361173
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361173#FFFFFF#000000##FFFFFF
##3611731.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#212E43
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #361173;
/* rgb */ color: rgb(54, 17, 115);
/* oklch */ color: oklch(30.8% 0.151 292.0);
Tailwind
colors: {
  custom: {
    50: '#75559c',
    500: '#361173',
    950: '#000000',
  },
}
SCSS
$custom: #361173;
$custom-light: #75559c;
$custom-dark: #000000;
JSON
{
  "hex": "#361173",
  "rgb": {
    "r": 54,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 262.653,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30791,
    "c": 0.15061,
    "h": 292
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

primary
#361173
secondary
#7EAA36
accent
#F137AB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #361173

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

Preview Lab → · Contrast checker → · Palette generator →

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