#361462#361462

#361462 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.128 H 297.8°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#361462
RGBrgb(54, 20, 98)
HSLhsl(266, 66%, 23%)
HSVhsv(266, 80%, 38%)
CMYKcmyk(44.9%, 79.6%, 0%, 61.6%)
CIE-LABlab(16.34, 34.18, -39.50)
CIE-LCHlch(16.34, 52.23, 310.87°)
OKLaboklab(29.42% 0.0595 -0.113)
OKLCHoklch(29.42% 0.128 297.8)
XYZxyz(3.9755, 2.1664, 11.7616)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361462 #406214
analogous
#141962 #361462 #5D1462
triadic
#361462 #623614 #146236
tetradic
#361462 #621419 #406214 #14625D
square
#361462 #621419 #406214 #14625D
split-complementary
#361462 #625D14 #196214
monochromatic
#0E0519 #1A0A2F #361462 #521E95 #6E29C8

Accessibility & contrast

On white

14.65
#361462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361462
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361462#FFFFFF#000000##FFFFFF
##3614621.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002964
Deuteranopia (green-blind)
#002860
Tritanopia (blue-blind)
#2B283A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #361462;
/* rgb */ color: rgb(54, 20, 98);
/* oklch */ color: oklch(29.4% 0.128 297.8);
Tailwind
colors: {
  custom: {
    50: '#72558f',
    500: '#361462',
    950: '#000000',
  },
}
SCSS
$custom: #361462;
$custom-light: #72558f;
$custom-dark: #000000;
JSON
{
  "hex": "#361462",
  "rgb": {
    "r": 54,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 266.154,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29415,
    "c": 0.12768,
    "h": 297.8
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#361462
secondary
#6F9938
accent
#E93F9F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #361462

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

Preview Lab → · Contrast checker → · Palette generator →

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