#2C0B3F#2C0B3F

#2C0B3F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.095 H 310.0°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#2C0B3F
RGBrgb(44, 11, 63)
HSLhsl(278, 70%, 15%)
HSVhsv(278, 83%, 25%)
CMYKcmyk(30.2%, 82.5%, 0%, 75.3%)
CIE-LABlab(10.06, 26.98, -25.78)
CIE-LCHlch(10.06, 37.32, 316.30°)
OKLaboklab(23.67% 0.0612 -0.073)
OKLCHoklch(23.67% 0.095 310)
XYZxyz(2.0554, 1.1337, 4.8122)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0B3F #1E3F0B
analogous
#120B3F #2C0B3F #3F0B38
triadic
#2C0B3F #3F2C0B #0B3F2C
tetradic
#2C0B3F #3F120B #1E3F0B #0B383F
square
#2C0B3F #3F120B #1E3F0B #0B383F
split-complementary
#2C0B3F #383F0B #0B3F12
monochromatic
#12051A #12051A #2C0B3F #501473 #751DA7

Accessibility & contrast

On white

17.12
#2C0B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2C0B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0B3F
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0B3F#FFFFFF#000000##FFFFFF
##2C0B3F1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#031C3E
Tritanopia (blue-blind)
#291724
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0b3f;
/* rgb */ color: rgb(44, 11, 63);
/* oklch */ color: oklch(23.7% 0.095 310.0);
Tailwind
colors: {
  custom: {
    50: '#684d74',
    500: '#2c0b3f',
    950: '#000000',
  },
}
SCSS
$custom: #2c0b3f;
$custom-light: #684d74;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0b3f",
  "rgb": {
    "r": 44,
    "g": 11,
    "b": 63
  },
  "hsl": {
    "h": 278.077,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23665,
    "c": 0.09529,
    "h": 310
  },
  "luminance": 0.01134
}

Semantic roles & 50–950 ramp

primary
#2C0B3F
secondary
#487C2A
accent
#ED3B7C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C0B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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