#361A8F#361A8F

#361A8F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.175 H 283.4°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#361A8F
RGBrgb(54, 26, 143)
HSLhsl(254, 69%, 33%)
HSVhsv(254, 82%, 56%)
CMYKcmyk(62.2%, 81.8%, 0%, 43.9%)
CIE-LABlab(21.97, 44.40, -59.09)
CIE-LCHlch(21.97, 73.92, 306.92°)
OKLaboklab(34.74% 0.0407 -0.1704)
OKLCHoklch(34.74% 0.175 283.4)
XYZxyz(6.8471, 3.5058, 26.2971)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A8F #738F1A
analogous
#1A388F #361A8F #701A8F
triadic
#361A8F #8F361A #1A8F36
tetradic
#361A8F #8F1A38 #738F1A #1A8F70
square
#361A8F #8F1A38 #738F1A #1A8F70
split-complementary
#361A8F #8F701A #388F1A
monochromatic
#0F0727 #22115B #361A8F #4A23C3 #6A46DD

Accessibility & contrast

On white

12.34
#361A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#361A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A8F
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A8F#FFFFFF#000000##FFFFFF
##361A8F1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #361a8f;
/* rgb */ color: rgb(54, 26, 143);
/* oklch */ color: oklch(34.7% 0.175 283.4);
Tailwind
colors: {
  custom: {
    50: '#795bb1',
    500: '#361a8f',
    950: '#000000',
  },
}
SCSS
$custom: #361a8f;
$custom-light: #795bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#361a8f",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 254.359,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34738,
    "c": 0.17518,
    "h": 283.4
  },
  "luminance": 0.03506
}

Semantic roles & 50–950 ramp

primary
#361A8F
secondary
#A2BF46
accent
#EC3CC2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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