#2C0A3F#2C0A3F

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

Color values

HEX#2C0A3F
RGBrgb(44, 10, 63)
HSLhsl(278, 73%, 14%)
HSVhsv(278, 84%, 25%)
CMYKcmyk(30.2%, 84.1%, 0%, 75.3%)
CIE-LABlab(9.89, 27.47, -26.06)
CIE-LCHlch(9.89, 37.86, 316.50°)
OKLaboklab(23.54% 0.0624 -0.0738)
OKLCHoklch(23.54% 0.097 310.2)
XYZxyz(2.0443, 1.1115, 4.8085)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0A3F #1D3F0A
analogous
#120A3F #2C0A3F #3F0A38
triadic
#2C0A3F #3F2C0A #0A3F2C
tetradic
#2C0A3F #3F120A #1D3F0A #0A383F
square
#2C0A3F #3F120A #1D3F0A #0A383F
split-complementary
#2C0A3F #383F0A #0A3F12
monochromatic
#12041A #12041A #2C0A3F #511274 #761BA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C0A3F#FFFFFF#000000##FFFFFF
##2C0A3F1.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)
#001A40
Deuteranopia (green-blind)
#021C3E
Tritanopia (blue-blind)
#291624
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0a3f;
/* rgb */ color: rgb(44, 10, 63);
/* oklch */ color: oklch(23.5% 0.097 310.2);
Tailwind
colors: {
  custom: {
    50: '#684d74',
    500: '#2c0a3f',
    950: '#000000',
  },
}
SCSS
$custom: #2c0a3f;
$custom-light: #684d74;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0a3f",
  "rgb": {
    "r": 44,
    "g": 10,
    "b": 63
  },
  "hsl": {
    "h": 278.491,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23544,
    "c": 0.09665,
    "h": 310.2
  },
  "luminance": 0.01111
}

Semantic roles & 50–950 ramp

primary
#2C0A3F
secondary
#477C29
accent
#EF387A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C0A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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