#361970#361970

#361970 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.139 H 291.5°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#361970
RGBrgb(54, 25, 112)
HSLhsl(260, 64%, 27%)
HSVhsv(260, 78%, 44%)
CMYKcmyk(51.8%, 77.7%, 0%, 56.1%)
CIE-LABlab(18.58, 35.67, -45.00)
CIE-LCHlch(18.58, 57.42, 308.40°)
OKLaboklab(31.41% 0.0509 -0.1292)
OKLCHoklch(31.41% 0.139 291.5)
XYZxyz(4.7928, 2.6492, 15.5849)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361970 #537019
analogous
#192870 #361970 #621970
triadic
#361970 #703619 #197036
tetradic
#361970 #701928 #537019 #197062
square
#361970 #701928 #537019 #197062
split-complementary
#361970 #706219 #287019
monochromatic
#0C0619 #1E0E3E #361970 #4E24A2 #6732D1

Accessibility & contrast

On white

13.73
#361970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#361970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361970
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361970#FFFFFF#000000##FFFFFF
##3619701.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#233043
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #361970;
/* rgb */ color: rgb(54, 25, 112);
/* oklch */ color: oklch(31.4% 0.139 291.5);
Tailwind
colors: {
  custom: {
    50: '#74599a',
    500: '#361970',
    950: '#000000',
  },
}
SCSS
$custom: #361970;
$custom-light: #74599a;
$custom-dark: #000000;
JSON
{
  "hex": "#361970",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 260,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31406,
    "c": 0.13884,
    "h": 291.5
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#361970
secondary
#83A540
accent
#E741AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361970

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

Preview Lab → · Contrast checker → · Palette generator →

#361970 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva