#2C0D56#2C0D56

#2C0D56 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.1% C 0.120 H 296.1°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#2C0D56
RGBrgb(44, 13, 86)
HSLhsl(265, 74%, 19%)
HSVhsv(265, 85%, 34%)
CMYKcmyk(48.8%, 84.9%, 0%, 66.3%)
CIE-LABlab(12.58, 32.38, -37.66)
CIE-LCHlch(12.58, 49.66, 310.69°)
OKLaboklab(26.11% 0.0529 -0.1079)
OKLCHoklch(26.11% 0.12 296.1)
XYZxyz(2.8619, 1.4951, 8.9401)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D56 #37560D
analogous
#0D1356 #2C0D56 #510D56
triadic
#2C0D56 #562C0D #0D562C
tetradic
#2C0D56 #560D13 #37560D #0D5651
square
#2C0D56 #560D13 #37560D #0D5651
split-complementary
#2C0D56 #56510D #13560D
monochromatic
#0E041B #110521 #2C0D56 #47158B #621DC0

Accessibility & contrast

On white

16.17
#2C0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2C0D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0D56
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D56#FFFFFF#000000##FFFFFF
##2C0D561.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#002055
Tritanopia (blue-blind)
#202131
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2c0d56;
/* rgb */ color: rgb(44, 13, 86);
/* oklch */ color: oklch(26.1% 0.120 296.1);
Tailwind
colors: {
  custom: {
    50: '#6b5086',
    500: '#2c0d56',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d56;
$custom-light: #6b5086;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d56",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 265.479,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26111,
    "c": 0.12017,
    "h": 296.1
  },
  "luminance": 0.01495
}

Semantic roles & 50–950 ramp

primary
#2C0D56
secondary
#67912E
accent
#F037A2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2C0D56

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

Preview Lab → · Contrast checker → · Palette generator →

#2C0D56 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva