#361870#361870

#361870 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.140 H 291.7°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#361870
RGBrgb(54, 24, 112)
HSLhsl(260, 65%, 27%)
HSVhsv(260, 79%, 44%)
CMYKcmyk(51.8%, 78.6%, 0%, 56.1%)
CIE-LABlab(18.40, 36.19, -45.30)
CIE-LCHlch(18.40, 57.98, 308.62°)
OKLaboklab(31.28% 0.0518 -0.13)
OKLCHoklch(31.28% 0.14 291.7)
XYZxyz(4.7718, 2.6072, 15.5779)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361870 #527018
analogous
#182670 #361870 #621870
triadic
#361870 #703618 #187036
tetradic
#361870 #701826 #527018 #187062
square
#361870 #701826 #527018 #187062
split-complementary
#361870 #706218 #267018
monochromatic
#0C0519 #1E0D3E #361870 #4E23A2 #6730D3

Accessibility & contrast

On white

13.80
#361870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#361870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361870
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361870#FFFFFF#000000##FFFFFF
##3618701.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361870;
/* rgb */ color: rgb(54, 24, 112);
/* oklch */ color: oklch(31.3% 0.140 291.7);
Tailwind
colors: {
  custom: {
    50: '#74589a',
    500: '#361870',
    950: '#000000',
  },
}
SCSS
$custom: #361870;
$custom-light: #74589a;
$custom-dark: #000000;
JSON
{
  "hex": "#361870",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 260.455,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31277,
    "c": 0.13998,
    "h": 291.7
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

primary
#361870
secondary
#82A53E
accent
#E840AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #361870

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

Preview Lab → · Contrast checker → · Palette generator →

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