#361EA8#361EA8

#361EA8 is a dark, highly saturated violet. Relative luminance 0.045; OKLCH L 37.9% C 0.201 H 278.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#361EA8
RGBrgb(54, 30, 168)
HSLhsl(250, 70%, 39%)
HSVhsv(250, 82%, 66%)
CMYKcmyk(67.9%, 82.1%, 0%, 34.1%)
CIE-LABlab(25.38, 49.97, -68.77)
CIE-LCHlch(25.38, 85.01, 306.00°)
OKLaboklab(37.92% 0.0306 -0.1986)
OKLCHoklch(37.92% 0.201 278.8)
XYZxyz(9.0512, 4.5392, 37.4374)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361EA8 #90A81E
analogous
#1E4BA8 #361EA8 #7B1EA8
triadic
#361EA8 #A8361E #1EA836
tetradic
#361EA8 #A81E4B #90A81E #1EA87B
square
#361EA8 #A81E4B #90A81E #1EA87B
split-complementary
#361EA8 #A87B1E #4BA81E
monochromatic
#150B40 #251574 #361EA8 #492AD9 #755EE2

Accessibility & contrast

On white

11.01
#361EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#361EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361EA8
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361EA8#FFFFFF#000000##FFFFFF
##361EA81.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #361ea8;
/* rgb */ color: rgb(54, 30, 168);
/* oklch */ color: oklch(37.9% 0.201 278.8);
Tailwind
colors: {
  custom: {
    50: '#7e5fc3',
    500: '#361ea8',
    950: '#000000',
  },
}
SCSS
$custom: #361ea8;
$custom-light: #7e5fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#361ea8",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 250.435,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.3792,
    "c": 0.20095,
    "h": 278.8
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#361EA8
secondary
#B4C75B
accent
#ED3BCE
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #361EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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