#3C267D#3C267D

#3C267D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.139 H 288.8°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#3C267D
RGBrgb(60, 38, 125)
HSLhsl(255, 53%, 32%)
HSVhsv(255, 70%, 49%)
CMYKcmyk(52%, 69.6%, 0%, 51%)
CIE-LABlab(23.09, 33.39, -45.92)
CIE-LCHlch(23.09, 56.78, 306.02°)
OKLaboklab(35.15% 0.0448 -0.1317)
OKLCHoklch(35.15% 0.139 288.8)
XYZxyz(6.2572, 3.8273, 19.8071)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C267D #677D26
analogous
#263C7D #3C267D #68267D
triadic
#3C267D #7D3C26 #267D3C
tetradic
#3C267D #7D263C #677D26 #267D68
square
#3C267D #7D263C #677D26 #267D68
split-complementary
#3C267D #7D6826 #3C7D26
monochromatic
#0F091F #25184E #3C267D #5334AC #7153CB

Accessibility & contrast

On white

11.89
#3C267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3C267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C267D
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C267D#FFFFFF#000000##FFFFFF
##3C267D1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#253C4E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3c267d;
/* rgb */ color: rgb(60, 38, 125);
/* oklch */ color: oklch(35.1% 0.139 288.8);
Tailwind
colors: {
  custom: {
    50: '#7862a3',
    500: '#3c267d',
    950: '#000000',
  },
}
SCSS
$custom: #3c267d;
$custom-light: #7862a3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c267d",
  "rgb": {
    "r": 60,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 255.172,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35146,
    "c": 0.13912,
    "h": 288.8
  },
  "luminance": 0.03828
}

Semantic roles & 50–950 ramp

primary
#3C267D
secondary
#97AF50
accent
#DD4BB8
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #3C267D

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

Preview Lab → · Contrast checker → · Palette generator →

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