#361968#361968

#361968 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.129 H 294.2°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#361968
RGBrgb(54, 25, 104)
HSLhsl(262, 61%, 25%)
HSVhsv(262, 76%, 41%)
CMYKcmyk(48.1%, 76%, 0%, 59.2%)
CIE-LABlab(17.82, 33.29, -41.02)
CIE-LCHlch(17.82, 52.83, 309.06°)
OKLaboklab(30.64% 0.0529 -0.1175)
OKLCHoklch(30.64% 0.129 294.2)
XYZxyz(4.3670, 2.4789, 13.3424)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361968 #4B6819
analogous
#192468 #361968 #5D1968
triadic
#361968 #683619 #196836
tetradic
#361968 #681924 #4B6819 #19685D
square
#361968 #681924 #4B6819 #19685D
split-complementary
#361968 #685D19 #246819
monochromatic
#0D0619 #1C0D37 #361968 #502599 #6931CB

Accessibility & contrast

On white

14.04
#361968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#361968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361968
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361968#FFFFFF#000000##FFFFFF
##3619681.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002A66
Tritanopia (blue-blind)
#282D3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #361968;
/* rgb */ color: rgb(54, 25, 104);
/* oklch */ color: oklch(30.6% 0.129 294.2);
Tailwind
colors: {
  custom: {
    50: '#735994',
    500: '#361968',
    950: '#000000',
  },
}
SCSS
$custom: #361968;
$custom-light: #735994;
$custom-dark: #000000;
JSON
{
  "hex": "#361968",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 262.025,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30638,
    "c": 0.12888,
    "h": 294.2
  },
  "luminance": 0.02479
}

Semantic roles & 50–950 ramp

primary
#361968
secondary
#7B9E3F
accent
#E443A9
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #361968

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

Preview Lab → · Contrast checker → · Palette generator →

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