#361852#361852

#361852 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.102 H 304.4°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#361852
RGBrgb(54, 24, 82)
HSLhsl(271, 55%, 21%)
HSVhsv(271, 71%, 32%)
CMYKcmyk(34.1%, 70.7%, 0%, 67.8%)
CIE-LABlab(15.73, 27.50, -29.75)
CIE-LCHlch(15.73, 40.51, 312.75°)
OKLaboklab(28.55% 0.0579 -0.0843)
OKLCHoklch(28.55% 0.102 304.4)
XYZxyz(3.3706, 2.0467, 8.1985)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361852 #345218
analogous
#191852 #361852 #521851
triadic
#361852 #523618 #185236
tetradic
#361852 #521918 #345218 #185152
square
#361852 #521918 #345218 #185152
split-complementary
#361852 #515218 #185219
monochromatic
#100718 #170A23 #361852 #552681 #7434B1

Accessibility & contrast

On white

14.90
#361852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#361852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361852
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361852#FFFFFF#000000##FFFFFF
##3618521.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#072751
Tritanopia (blue-blind)
#312432
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #361852;
/* rgb */ color: rgb(54, 24, 82);
/* oklch */ color: oklch(28.5% 0.102 304.4);
Tailwind
colors: {
  custom: {
    50: '#705783',
    500: '#361852',
    950: '#000000',
  },
}
SCSS
$custom: #361852;
$custom-light: #705783;
$custom-dark: #000000;
JSON
{
  "hex": "#361852",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 271.034,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.2855,
    "c": 0.10228,
    "h": 304.4
  },
  "luminance": 0.02047
}

Semantic roles & 50–950 ramp

primary
#361852
secondary
#62893D
accent
#DE4A91
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030A
muted
#7B787C

Preview Lab

Preview with #361852

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

Preview Lab → · Contrast checker → · Palette generator →

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