#361858#361858

#361858 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.1% C 0.110 H 301.3°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#361858
RGBrgb(54, 24, 88)
HSLhsl(268, 57%, 22%)
HSVhsv(268, 73%, 35%)
CMYKcmyk(38.6%, 72.7%, 0%, 65.5%)
CIE-LABlab(16.22, 29.19, -33.02)
CIE-LCHlch(16.22, 44.07, 311.48°)
OKLaboklab(29.05% 0.0571 -0.094)
OKLCHoklch(29.05% 0.11 301.3)
XYZxyz(3.6090, 2.1421, 9.4540)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361858 #3A5818
analogous
#181A58 #361858 #561858
triadic
#361858 #583618 #185836
tetradic
#361858 #58181A #3A5818 #185856
square
#361858 #58181A #3A5818 #185856
split-complementary
#361858 #585618 #1A5818
monochromatic
#0F0718 #180B28 #361858 #542588 #7132B8

Accessibility & contrast

On white

14.70
#361858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#361858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361858
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361858#FFFFFF#000000##FFFFFF
##3618581.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285A
Deuteranopia (green-blind)
#002857
Tritanopia (blue-blind)
#2F2735
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #361858;
/* rgb */ color: rgb(54, 24, 88);
/* oklch */ color: oklch(29.1% 0.110 301.3);
Tailwind
colors: {
  custom: {
    50: '#705788',
    500: '#361858',
    950: '#000000',
  },
}
SCSS
$custom: #361858;
$custom-light: #705788;
$custom-dark: #000000;
JSON
{
  "hex": "#361858",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 268.125,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29053,
    "c": 0.10997,
    "h": 301.3
  },
  "luminance": 0.02142
}

Semantic roles & 50–950 ramp

primary
#361858
secondary
#688F3D
accent
#E04799
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361858

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

Preview Lab → · Contrast checker → · Palette generator →

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