#361872#361872

#361872 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.142 H 291.1°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#361872
RGBrgb(54, 24, 114)
HSLhsl(260, 65%, 27%)
HSVhsv(260, 79%, 45%)
CMYKcmyk(52.6%, 78.9%, 0%, 55.3%)
CIE-LABlab(18.59, 36.78, -46.27)
CIE-LCHlch(18.59, 59.11, 308.48°)
OKLaboklab(31.48% 0.0513 -0.1329)
OKLCHoklch(31.48% 0.142 291.1)
XYZxyz(4.8844, 2.6522, 16.1709)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361872 #547218
analogous
#182772 #361872 #631872
triadic
#361872 #723618 #187236
tetradic
#361872 #721827 #547218 #187263
square
#361872 #721827 #547218 #187263
split-complementary
#361872 #726318 #277218
monochromatic
#0C0519 #1E0D3F #361872 #4E23A5 #6731D4

Accessibility & contrast

On white

13.72
#361872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361872
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361872#FFFFFF#000000##FFFFFF
##3618721.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002B70
Tritanopia (blue-blind)
#213144
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #361872;
/* rgb */ color: rgb(54, 24, 114);
/* oklch */ color: oklch(31.5% 0.142 291.1);
Tailwind
colors: {
  custom: {
    50: '#74589b',
    500: '#361872',
    950: '#000000',
  },
}
SCSS
$custom: #361872;
$custom-light: #74589b;
$custom-dark: #000000;
JSON
{
  "hex": "#361872",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 260,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31476,
    "c": 0.14243,
    "h": 291.1
  },
  "luminance": 0.02652
}

Semantic roles & 50–950 ramp

primary
#361872
secondary
#84A73E
accent
#E840B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #361872

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

Preview Lab → · Contrast checker → · Palette generator →

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