#361A5F#361A5F

#361A5F is a dark, moderate violet. Relative luminance 0.023; OKLCH L 30.0% C 0.116 H 297.5°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#361A5F
RGBrgb(54, 26, 95)
HSLhsl(264, 57%, 24%)
HSVhsv(264, 73%, 37%)
CMYKcmyk(43.2%, 72.6%, 0%, 62.7%)
CIE-LABlab(17.22, 30.07, -36.06)
CIE-LCHlch(17.22, 46.96, 309.82°)
OKLaboklab(29.96% 0.0536 -0.1029)
OKLCHoklch(29.96% 0.116 297.5)
XYZxyz(3.9557, 2.3492, 11.0693)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A5F #435F1A
analogous
#1A205F #361A5F #581A5F
triadic
#361A5F #5F361A #1A5F36
tetradic
#361A5F #5F1A20 #435F1A #1A5F58
square
#361A5F #5F1A20 #435F1A #1A5F58
split-complementary
#361A5F #5F581A #205F1A
monochromatic
#0E0718 #1B0D2F #361A5F #51278F #6D34BF

Accessibility & contrast

On white

14.29
#361A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#361A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A5F
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A5F#FFFFFF#000000##FFFFFF
##361A5F1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#2C2A3A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #361a5f;
/* rgb */ color: rgb(54, 26, 95);
/* oklch */ color: oklch(30.0% 0.116 297.5);
Tailwind
colors: {
  custom: {
    50: '#71598d',
    500: '#361a5f',
    950: '#000000',
  },
}
SCSS
$custom: #361a5f;
$custom-light: #71598d;
$custom-dark: #000000;
JSON
{
  "hex": "#361a5f",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 264.348,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.2996,
    "c": 0.11606,
    "h": 297.5
  },
  "luminance": 0.02349
}

Semantic roles & 50–950 ramp

primary
#361A5F
secondary
#729540
accent
#E048A2
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #361A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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