#361F8B#361F8B

#361F8B is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.166 H 283.5°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#361F8B
RGBrgb(54, 31, 139)
HSLhsl(253, 64%, 33%)
HSVhsv(253, 78%, 55%)
CMYKcmyk(61.2%, 77.7%, 0%, 45.5%)
CIE-LABlab(22.40, 40.72, -55.88)
CIE-LCHlch(22.40, 69.14, 306.08°)
OKLaboklab(34.91% 0.0386 -0.1611)
OKLCHoklch(34.91% 0.166 283.5)
XYZxyz(6.6701, 3.6279, 24.7699)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F8B #748B1F
analogous
#1F3E8B #361F8B #6C1F8B
triadic
#361F8B #8B361F #1F8B36
tetradic
#361F8B #8B1F3E #748B1F #1F8B6C
square
#361F8B #8B1F3E #748B1F #1F8B6C
split-complementary
#361F8B #8B6C1F #3E8B1F
monochromatic
#0F0927 #231459 #361F8B #492ABD #6B4DD7

Accessibility & contrast

On white

12.17
#361F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#361F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F8B
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F8B#FFFFFF#000000##FFFFFF
##361F8B1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#003289
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #361f8b;
/* rgb */ color: rgb(54, 31, 139);
/* oklch */ color: oklch(34.9% 0.166 283.5);
Tailwind
colors: {
  custom: {
    50: '#785eae',
    500: '#361f8b',
    950: '#000000',
  },
}
SCSS
$custom: #361f8b;
$custom-light: #785eae;
$custom-dark: #000000;
JSON
{
  "hex": "#361f8b",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 252.778,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34914,
    "c": 0.16564,
    "h": 283.5
  },
  "luminance": 0.03628
}

Semantic roles & 50–950 ramp

primary
#361F8B
secondary
#A3BA4C
accent
#E741C3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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