#36195F#36195F

#36195F is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.8% C 0.117 H 297.8°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#36195F
RGBrgb(54, 25, 95)
HSLhsl(265, 58%, 24%)
HSVhsv(265, 74%, 37%)
CMYKcmyk(43.2%, 73.7%, 0%, 62.7%)
CIE-LABlab(17.02, 30.65, -36.40)
CIE-LCHlch(17.02, 47.58, 310.10°)
OKLaboklab(29.81% 0.0548 -0.1039)
OKLCHoklch(29.81% 0.117 297.8)
XYZxyz(3.9340, 2.3057, 11.0620)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36195F #425F19
analogous
#191F5F #36195F #59195F
triadic
#36195F #5F3619 #195F36
tetradic
#36195F #5F191F #425F19 #195F59
square
#36195F #5F191F #425F19 #195F59
split-complementary
#36195F #5F5919 #1F5F19
monochromatic
#0E0618 #1A0C2F #36195F #52268F #6D32C0

Accessibility & contrast

On white

14.37
#36195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#36195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36195F
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36195F#FFFFFF#000000##FFFFFF
##36195F1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#2C2A3A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #36195f;
/* rgb */ color: rgb(54, 25, 95);
/* oklch */ color: oklch(29.8% 0.117 297.8);
Tailwind
colors: {
  custom: {
    50: '#71588d',
    500: '#36195f',
    950: '#000000',
  },
}
SCSS
$custom: #36195f;
$custom-light: #71588d;
$custom-dark: #000000;
JSON
{
  "hex": "#36195f",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 264.857,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29812,
    "c": 0.11748,
    "h": 297.8
  },
  "luminance": 0.02306
}

Semantic roles & 50–950 ramp

primary
#36195F
secondary
#71953F
accent
#E246A1
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36195F

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

Preview Lab → · Contrast checker → · Palette generator →

#36195F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva