#361670#361670

#361670 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.142 H 292.1°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#361670
RGBrgb(54, 22, 112)
HSLhsl(261, 67%, 26%)
HSVhsv(261, 80%, 44%)
CMYKcmyk(51.8%, 80.4%, 0%, 56.1%)
CIE-LABlab(18.04, 37.20, -45.88)
CIE-LCHlch(18.04, 59.06, 309.04°)
OKLaboklab(31.03% 0.0536 -0.1317)
OKLCHoklch(31.03% 0.142 292.1)
XYZxyz(4.7320, 2.5278, 15.5647)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361670 #507016
analogous
#162370 #361670 #631670
triadic
#361670 #703616 #167036
tetradic
#361670 #701623 #507016 #167063
square
#361670 #701623 #507016 #167063
split-complementary
#361670 #706316 #237016
monochromatic
#0C051A #1D0C3D #361670 #4F20A3 #682BD5

Accessibility & contrast

On white

13.95
#361670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#361670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361670
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361670#FFFFFF#000000##FFFFFF
##3616701.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#232F42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #361670;
/* rgb */ color: rgb(54, 22, 112);
/* oklch */ color: oklch(31.0% 0.142 292.1);
Tailwind
colors: {
  custom: {
    50: '#74579a',
    500: '#361670',
    950: '#000000',
  },
}
SCSS
$custom: #361670;
$custom-light: #74579a;
$custom-dark: #000000;
JSON
{
  "hex": "#361670",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 261.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3103,
    "c": 0.14219,
    "h": 292.1
  },
  "luminance": 0.02528
}

Semantic roles & 50–950 ramp

primary
#361670
secondary
#80A63C
accent
#EA3EAD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #361670

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

Preview Lab → · Contrast checker → · Palette generator →

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