#361F94#361F94

#361F94 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.177 H 281.8°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#361F94
RGBrgb(54, 31, 148)
HSLhsl(252, 65%, 35%)
HSVhsv(252, 79%, 58%)
CMYKcmyk(63.5%, 79.1%, 0%, 42%)
CIE-LABlab(23.34, 43.48, -59.92)
CIE-LCHlch(23.34, 74.03, 305.97°)
OKLaboklab(35.86% 0.0361 -0.1728)
OKLCHoklch(35.86% 0.177 281.8)
XYZxyz(7.3549, 3.9018, 28.3768)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F94 #7D941F
analogous
#1F4294 #361F94 #711F94
triadic
#361F94 #94361F #1F9436
tetradic
#361F94 #941F42 #7D941F #1F9471
square
#361F94 #941F42 #7D941F #1F9471
split-complementary
#361F94 #94711F #42941F
monochromatic
#110A2F #241461 #361F94 #482AC7 #6D53DB

Accessibility & contrast

On white

11.80
#361F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#361F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F94
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F94#FFFFFF#000000##FFFFFF
##361F941.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #361f94;
/* rgb */ color: rgb(54, 31, 148);
/* oklch */ color: oklch(35.9% 0.177 281.8);
Tailwind
colors: {
  custom: {
    50: '#7a5eb5',
    500: '#361f94',
    950: '#000000',
  },
}
SCSS
$custom: #361f94;
$custom-light: #7a5eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#361f94",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 251.795,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35857,
    "c": 0.17658,
    "h": 281.8
  },
  "luminance": 0.03902
}

Semantic roles & 50–950 ramp

primary
#361F94
secondary
#A9BE51
accent
#E83FC7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #361F94

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

Preview Lab → · Contrast checker → · Palette generator →

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