#361868#361868

#361868 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.130 H 294.5°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#361868
RGBrgb(54, 24, 104)
HSLhsl(263, 63%, 25%)
HSVhsv(263, 77%, 41%)
CMYKcmyk(48.1%, 76.9%, 0%, 59.2%)
CIE-LABlab(17.63, 33.83, -41.34)
CIE-LCHlch(17.63, 53.42, 309.30°)
OKLaboklab(30.5% 0.0539 -0.1184)
OKLCHoklch(30.5% 0.13 294.5)
XYZxyz(4.3460, 2.4369, 13.3354)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361868 #4A6818
analogous
#182268 #361868 #5E1868
triadic
#361868 #683618 #186836
tetradic
#361868 #681822 #4A6818 #18685E
square
#361868 #681822 #4A6818 #18685E
split-complementary
#361868 #685E18 #226818
monochromatic
#0D0619 #1C0D36 #361868 #50239A #6A2FCB

Accessibility & contrast

On white

14.12
#361868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#361868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361868
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361868#FFFFFF#000000##FFFFFF
##3618681.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361868;
/* rgb */ color: rgb(54, 24, 104);
/* oklch */ color: oklch(30.5% 0.130 294.5);
Tailwind
colors: {
  custom: {
    50: '#735894',
    500: '#361868',
    950: '#000000',
  },
}
SCSS
$custom: #361868;
$custom-light: #735894;
$custom-dark: #000000;
JSON
{
  "hex": "#361868",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 262.5,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30502,
    "c": 0.13013,
    "h": 294.5
  },
  "luminance": 0.02437
}

Semantic roles & 50–950 ramp

primary
#361868
secondary
#7A9E3E
accent
#E642A8
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #361868

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

Preview Lab → · Contrast checker → · Palette generator →

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