#3C256E#3C256E

#3C256E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.7% C 0.120 H 293.4°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#3C256E
RGBrgb(60, 37, 110)
HSLhsl(259, 50%, 29%)
HSVhsv(259, 66%, 43%)
CMYKcmyk(45.5%, 66.4%, 0%, 56.9%)
CIE-LABlab(21.61, 29.36, -38.73)
CIE-LCHlch(21.61, 48.60, 307.16°)
OKLaboklab(33.69% 0.0478 -0.1106)
OKLCHoklch(33.69% 0.12 293.4)
XYZxyz(5.3388, 3.4094, 15.1256)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C256E #576E25
analogous
#25336E #3C256E #61256E
triadic
#3C256E #6E3C25 #256E3C
tetradic
#3C256E #6E2533 #576E25 #256E61
square
#3C256E #6E2533 #576E25 #256E61
split-complementary
#3C256E #6E6125 #336E25
monochromatic
#0C0817 #231640 #3C256E #55349C #714BC2

Accessibility & contrast

On white

12.49
#3C256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#3C256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C256E
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C256E#FFFFFF#000000##FFFFFF
##3C256E1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#2E3646
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3c256e;
/* rgb */ color: rgb(60, 37, 110);
/* oklch */ color: oklch(33.7% 0.120 293.4);
Tailwind
colors: {
  custom: {
    50: '#766198',
    500: '#3c256e',
    950: '#000000',
  },
}
SCSS
$custom: #3c256e;
$custom-light: #766198;
$custom-dark: #000000;
JSON
{
  "hex": "#3c256e",
  "rgb": {
    "r": 60,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 258.904,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33686,
    "c": 0.12045,
    "h": 293.4
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#3C256E
secondary
#87A14E
accent
#D94FAE
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3C256E

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

Preview Lab → · Contrast checker → · Palette generator →

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