#2C0B3E#2C0B3E

#2C0B3E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.094 H 310.7°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#2C0B3E
RGBrgb(44, 11, 62)
HSLhsl(279, 70%, 14%)
HSVhsv(279, 82%, 24%)
CMYKcmyk(29%, 82.3%, 0%, 75.7%)
CIE-LABlab(9.97, 26.71, -25.21)
CIE-LCHlch(9.97, 36.73, 316.66°)
OKLaboklab(23.58% 0.0614 -0.0713)
OKLCHoklch(23.58% 0.094 310.7)
XYZxyz(2.0277, 1.1227, 4.6664)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0B3E #1D3E0B
analogous
#130B3E #2C0B3E #3E0B37
triadic
#2C0B3E #3E2C0B #0B3E2C
tetradic
#2C0B3E #3E130B #1D3E0B #0B373E
square
#2C0B3E #3E130B #1D3E0B #0B373E
split-complementary
#2C0B3E #373E0B #0B3E13
monochromatic
#12051A #12051A #2C0B3E #511472 #761DA6

Accessibility & contrast

On white

17.15
#2C0B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0B3E
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0B3E#FFFFFF#000000##FFFFFF
##2C0B3E1.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#041C3D
Tritanopia (blue-blind)
#2A1623
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0b3e;
/* rgb */ color: rgb(44, 11, 62);
/* oklch */ color: oklch(23.6% 0.094 310.7);
Tailwind
colors: {
  custom: {
    50: '#684d74',
    500: '#2c0b3e',
    950: '#000000',
  },
}
SCSS
$custom: #2c0b3e;
$custom-light: #684d74;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0b3e",
  "rgb": {
    "r": 44,
    "g": 11,
    "b": 62
  },
  "hsl": {
    "h": 278.824,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23578,
    "c": 0.09412,
    "h": 310.7
  },
  "luminance": 0.01123
}

Semantic roles & 50–950 ramp

primary
#2C0B3E
secondary
#477B2A
accent
#ED3B7A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C0B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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