#2C0B3D#2C0B3D

#2C0B3D is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.093 H 311.5°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#2C0B3D
RGBrgb(44, 11, 61)
HSLhsl(280, 69%, 14%)
HSVhsv(280, 82%, 24%)
CMYKcmyk(27.9%, 82%, 0%, 76.1%)
CIE-LABlab(9.89, 26.45, -24.63)
CIE-LCHlch(9.89, 36.14, 317.05°)
OKLaboklab(23.49% 0.0616 -0.0696)
OKLCHoklch(23.49% 0.093 311.5)
XYZxyz(2.0005, 1.1118, 4.5232)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0B3D #1C3D0B
analogous
#130B3D #2C0B3D #3D0B35
triadic
#2C0B3D #3D2C0B #0B3D2C
tetradic
#2C0B3D #3D130B #1C3D0B #0B353D
square
#2C0B3D #3D130B #1C3D0B #0B353D
split-complementary
#2C0B3D #353D0B #0B3D13
monochromatic
#13051A #13051A #2C0B3D #511471 #771EA5

Accessibility & contrast

On white

17.18
#2C0B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2C0B3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0B3D
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0B3D#FFFFFF#000000##FFFFFF
##2C0B3D1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3E
Deuteranopia (green-blind)
#051C3C
Tritanopia (blue-blind)
#2A1623
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0b3d;
/* rgb */ color: rgb(44, 11, 61);
/* oklch */ color: oklch(23.5% 0.093 311.5);
Tailwind
colors: {
  custom: {
    50: '#684d73',
    500: '#2c0b3d',
    950: '#000000',
  },
}
SCSS
$custom: #2c0b3d;
$custom-light: #684d73;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0b3d",
  "rgb": {
    "r": 44,
    "g": 11,
    "b": 61
  },
  "hsl": {
    "h": 279.6,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23491,
    "c": 0.09294,
    "h": 311.5
  },
  "luminance": 0.01112
}

Semantic roles & 50–950 ramp

primary
#2C0B3D
secondary
#457A2A
accent
#EC3C78
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C0B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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