#361A5C#361A5C

#361A5C is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.7% C 0.112 H 298.8°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#361A5C
RGBrgb(54, 26, 92)
HSLhsl(265, 56%, 23%)
HSVhsv(265, 72%, 36%)
CMYKcmyk(41.3%, 71.7%, 0%, 63.9%)
CIE-LABlab(16.97, 29.19, -34.48)
CIE-LCHlch(16.97, 45.18, 310.26°)
OKLaboklab(29.7% 0.0541 -0.0983)
OKLCHoklch(29.7% 0.112 298.8)
XYZxyz(3.8220, 2.2957, 10.3649)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A5C #405C1A
analogous
#1A1F5C #361A5C #571A5C
triadic
#361A5C #5C361A #1A5C36
tetradic
#361A5C #5C1A1F #405C1A #1A5C57
square
#361A5C #5C1A1F #405C1A #1A5C57
split-complementary
#361A5C #5C571A #1F5C1A
monochromatic
#0E0718 #1A0D2C #361A5C #52278C #6E35BB

Accessibility & contrast

On white

14.39
#361A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#361A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A5C
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A5C#FFFFFF#000000##FFFFFF
##361A5C1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#2D2938
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #361a5c;
/* rgb */ color: rgb(54, 26, 92);
/* oklch */ color: oklch(29.7% 0.112 298.8);
Tailwind
colors: {
  custom: {
    50: '#71598b',
    500: '#361a5c',
    950: '#000000',
  },
}
SCSS
$custom: #361a5c;
$custom-light: #71598b;
$custom-dark: #000000;
JSON
{
  "hex": "#361a5c",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 92
  },
  "hsl": {
    "h": 265.455,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29698,
    "c": 0.11217,
    "h": 298.8
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#361A5C
secondary
#6F9240
accent
#DF499F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #361A5C

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

Preview Lab → · Contrast checker → · Palette generator →

#361A5C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva