#2C0B4E#2C0B4E

#2C0B4E is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.1% C 0.113 H 300.5°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#2C0B4E
RGBrgb(44, 11, 78)
HSLhsl(270, 75%, 17%)
HSVhsv(270, 86%, 31%)
CMYKcmyk(43.6%, 85.9%, 0%, 69.4%)
CIE-LABlab(11.45, 31.04, -34.03)
CIE-LCHlch(11.45, 46.06, 312.37°)
OKLaboklab(25.08% 0.0573 -0.0973)
OKLCHoklch(25.08% 0.113 300.5)
XYZxyz(2.5332, 1.3249, 7.3285)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0B4E #2D4E0B
analogous
#0B0C4E #2C0B4E #4D0B4E
triadic
#2C0B4E #4E2C0B #0B4E2C
tetradic
#2C0B4E #4E0B0C #2D4E0B #0B4E4D
square
#2C0B4E #4E0B0C #2D4E0B #0B4E4D
split-complementary
#2C0B4E #4E4D0B #0C4E0B
monochromatic
#0F041B #0F041B #2C0B4E #4A1384 #691AB9

Accessibility & contrast

On white

16.60
#2C0B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2C0B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0B4E
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0B4E#FFFFFF#000000##FFFFFF
##2C0B4E1.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E50
Deuteranopia (green-blind)
#001E4D
Tritanopia (blue-blind)
#241D2C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c0b4e;
/* rgb */ color: rgb(44, 11, 78);
/* oklch */ color: oklch(25.1% 0.113 300.5);
Tailwind
colors: {
  custom: {
    50: '#694e80',
    500: '#2c0b4e',
    950: '#000000',
  },
}
SCSS
$custom: #2c0b4e;
$custom-light: #694e80;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0b4e",
  "rgb": {
    "r": 44,
    "g": 11,
    "b": 78
  },
  "hsl": {
    "h": 269.552,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25076,
    "c": 0.1129,
    "h": 300.5
  },
  "luminance": 0.01325
}

Semantic roles & 50–950 ramp

primary
#2C0B4E
secondary
#5B8A2B
accent
#F23695
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2C0B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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