#361F68#361F68

#361F68 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.5% C 0.121 H 292.6°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#361F68
RGBrgb(54, 31, 104)
HSLhsl(259, 54%, 26%)
HSVhsv(259, 70%, 41%)
CMYKcmyk(48.1%, 70.2%, 0%, 59.2%)
CIE-LABlab(19.07, 29.84, -38.99)
CIE-LCHlch(19.07, 49.10, 307.43°)
OKLaboklab(31.53% 0.0464 -0.1115)
OKLCHoklch(31.53% 0.121 292.6)
XYZxyz(4.5093, 2.7636, 13.3899)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F68 #51681F
analogous
#1F2D68 #361F68 #5B1F68
triadic
#361F68 #68361F #1F6836
tetradic
#361F68 #681F2D #51681F #1F685B
square
#361F68 #681F2D #51681F #1F685B
split-complementary
#361F68 #685B1F #2D681F
monochromatic
#0C0718 #1E1139 #361F68 #4E2D97 #673CC5

Accessibility & contrast

On white

13.52
#361F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#361F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F68
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F68#FFFFFF#000000##FFFFFF
##361F681.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#273140
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #361f68;
/* rgb */ color: rgb(54, 31, 104);
/* oklch */ color: oklch(31.5% 0.121 292.6);
Tailwind
colors: {
  custom: {
    50: '#725c94',
    500: '#361f68',
    950: '#000000',
  },
}
SCSS
$custom: #361f68;
$custom-light: #725c94;
$custom-dark: #000000;
JSON
{
  "hex": "#361f68",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 258.904,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31529,
    "c": 0.12081,
    "h": 292.6
  },
  "luminance": 0.02764
}

Semantic roles & 50–950 ramp

primary
#361F68
secondary
#819C46
accent
#DD4AAF
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #361F68

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

Preview Lab → · Contrast checker → · Palette generator →

#361F68 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva