#2C093F#2C093F

#2C093F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.098 H 310.4°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#2C093F
RGBrgb(44, 9, 63)
HSLhsl(279, 75%, 14%)
HSVhsv(279, 86%, 25%)
CMYKcmyk(30.2%, 85.7%, 0%, 75.3%)
CIE-LABlab(9.72, 27.95, -26.33)
CIE-LCHlch(9.72, 38.40, 316.70°)
OKLaboklab(23.42% 0.0635 -0.0746)
OKLCHoklch(23.42% 0.098 310.4)
XYZxyz(2.0334, 1.0898, 4.8049)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C093F #1C3F09
analogous
#11093F #2C093F #3F0937
triadic
#2C093F #3F2C09 #093F2C
tetradic
#2C093F #3F1109 #1C3F09 #09373F
square
#2C093F #3F1109 #1C3F09 #09373F
split-complementary
#2C093F #373F09 #093F11
monochromatic
#13041B #13041B #2C093F #511175 #7718AA

Accessibility & contrast

On white

17.24
#2C093F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C093F
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C093F#FFFFFF#000000##FFFFFF
##2C093F1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001941
Deuteranopia (green-blind)
#011B3E
Tritanopia (blue-blind)
#291623
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c093f;
/* rgb */ color: rgb(44, 9, 63);
/* oklch */ color: oklch(23.4% 0.098 310.4);
Tailwind
colors: {
  custom: {
    50: '#684c74',
    500: '#2c093f',
    950: '#000000',
  },
}
SCSS
$custom: #2c093f;
$custom-light: #684c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2c093f",
  "rgb": {
    "r": 44,
    "g": 9,
    "b": 63
  },
  "hsl": {
    "h": 278.889,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23424,
    "c": 0.09802,
    "h": 310.4
  },
  "luminance": 0.0109
}

Semantic roles & 50–950 ramp

primary
#2C093F
secondary
#457D27
accent
#F23678
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C093F

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

Preview Lab → · Contrast checker → · Palette generator →

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