#3C165E#3C165E

#3C165E is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.122 H 304.0°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#3C165E
RGBrgb(60, 22, 94)
HSLhsl(272, 62%, 23%)
HSVhsv(272, 77%, 37%)
CMYKcmyk(36.2%, 76.6%, 0%, 63.1%)
CIE-LABlab(17.19, 33.29, -35.41)
CIE-LCHlch(17.19, 48.60, 313.23°)
OKLaboklab(30.1% 0.0679 -0.1008)
OKLCHoklch(30.1% 0.122 304)
XYZxyz(4.1703, 2.3426, 10.8200)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C165E #385E16
analogous
#18165E #3C165E #5E165C
triadic
#3C165E #5E3C16 #165E3C
tetradic
#3C165E #5E1816 #385E16 #165C5E
square
#3C165E #5E1816 #385E16 #165C5E
split-complementary
#3C165E #5C5E16 #165E18
monochromatic
#100619 #1C0A2C #3C165E #5C2290 #7B2DC1

Accessibility & contrast

On white

14.30
#3C165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3C165E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C165E
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C165E#FFFFFF#000000##FFFFFF
##3C165E1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002960
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#352738
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3c165e;
/* rgb */ color: rgb(60, 22, 94);
/* oklch */ color: oklch(30.1% 0.122 304.0);
Tailwind
colors: {
  custom: {
    50: '#75578c',
    500: '#3c165e',
    950: '#000000',
  },
}
SCSS
$custom: #3c165e;
$custom-light: #75578c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c165e",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 271.667,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30095,
    "c": 0.12151,
    "h": 304
  },
  "luminance": 0.02343
}

Semantic roles & 50–950 ramp

primary
#3C165E
secondary
#65953B
accent
#E5438F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C165E

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

Preview Lab → · Contrast checker → · Palette generator →

#3C165E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva