#2C094C#2C094C

#2C094C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.113 H 302.0°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#2C094C
RGBrgb(44, 9, 76)
HSLhsl(271, 79%, 17%)
HSVhsv(271, 88%, 30%)
CMYKcmyk(42.1%, 88.2%, 0%, 70.2%)
CIE-LABlab(10.94, 31.39, -33.48)
CIE-LCHlch(10.94, 45.89, 313.16°)
OKLaboklab(24.66% 0.0598 -0.0956)
OKLCHoklch(24.66% 0.113 302)
XYZxyz(2.4406, 1.2526, 6.9493)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C094C #294C09
analogous
#0A094C #2C094C #4C094B
triadic
#2C094C #4C2C09 #094C2C
tetradic
#2C094C #4C0A09 #294C09 #094B4C
square
#2C094C #4C0A09 #294C09 #094B4C
split-complementary
#2C094C #4B4C09 #094C0A
monochromatic
#10031B #10031B #2C094C #4C0F83 #6B16B9

Accessibility & contrast

On white

16.79
#2C094C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2C094C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C094C
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C094C#FFFFFF#000000##FFFFFF
##2C094C1.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#251B2B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c094c;
/* rgb */ color: rgb(44, 9, 76);
/* oklch */ color: oklch(24.7% 0.113 302.0);
Tailwind
colors: {
  custom: {
    50: '#694d7f',
    500: '#2c094c',
    950: '#000000',
  },
}
SCSS
$custom: #2c094c;
$custom-light: #694d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c094c",
  "rgb": {
    "r": 44,
    "g": 9,
    "b": 76
  },
  "hsl": {
    "h": 271.343,
    "s": 78.824,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2466,
    "c": 0.1128,
    "h": 302
  },
  "luminance": 0.01253
}

Semantic roles & 50–950 ramp

primary
#2C094C
secondary
#568928
accent
#F53390
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07010A
muted
#7A777C

Preview Lab

Preview with #2C094C

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

Preview Lab → · Contrast checker → · Palette generator →

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