#361A98#361A98

#361A98 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.186 H 281.7°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#361A98
RGBrgb(54, 26, 152)
HSLhsl(253, 71%, 35%)
HSVhsv(253, 83%, 60%)
CMYKcmyk(64.5%, 82.9%, 0%, 40.4%)
CIE-LABlab(22.96, 47.05, -63.01)
CIE-LCHlch(22.96, 78.64, 306.75°)
OKLaboklab(35.72% 0.0377 -0.1818)
OKLCHoklch(35.72% 0.186 281.7)
XYZxyz(7.5564, 3.7895, 30.0329)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A98 #7C981A
analogous
#1A3D98 #361A98 #751A98
triadic
#361A98 #98361A #1A9836
tetradic
#361A98 #981A3D #7C981A #1A9875
square
#361A98 #981A3D #7C981A #1A9875
split-complementary
#361A98 #98751A #3D981A
monochromatic
#11082F #231164 #361A98 #4923CC #6D4CE0

Accessibility & contrast

On white

11.95
#361A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#361A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A98
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A98#FFFFFF#000000##FFFFFF
##361A981.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9B
Deuteranopia (green-blind)
#003296
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #361a98;
/* rgb */ color: rgb(54, 26, 152);
/* oklch */ color: oklch(35.7% 0.186 281.7);
Tailwind
colors: {
  custom: {
    50: '#7b5cb8',
    500: '#361a98',
    950: '#000000',
  },
}
SCSS
$custom: #361a98;
$custom-light: #7b5cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#361a98",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 152
  },
  "hsl": {
    "h": 253.333,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35722,
    "c": 0.18566,
    "h": 281.7
  },
  "luminance": 0.0379
}

Semantic roles & 50–950 ramp

primary
#361A98
secondary
#A8C24B
accent
#EE3AC6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #361A98

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

Preview Lab → · Contrast checker → · Palette generator →

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