#2C133E#2C133E

#2C133E is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.081 H 308.4°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#2C133E
RGBrgb(44, 19, 62)
HSLhsl(275, 53%, 16%)
HSVhsv(275, 69%, 24%)
CMYKcmyk(29%, 69.4%, 0%, 75.7%)
CIE-LABlab(11.61, 22.18, -22.57)
CIE-LCHlch(11.61, 31.64, 314.50°)
OKLaboklab(24.76% 0.0504 -0.0636)
OKLCHoklch(24.76% 0.081 308.4)
XYZxyz(2.1409, 1.3490, 4.7041)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C133E #253E13
analogous
#16133E #2C133E #3E133A
triadic
#2C133E #3E2C13 #133E2C
tetradic
#2C133E #3E1613 #253E13 #133A3E
square
#2C133E #3E1613 #253E13 #133A3E
split-complementary
#2C133E #3A3E13 #133E16
monochromatic
#110717 #110717 #2C133E #4D216D #6E309C

Accessibility & contrast

On white

16.54
#2C133E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2C133E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C133E
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C133E#FFFFFF#000000##FFFFFF
##2C133E1.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031E3F
Deuteranopia (green-blind)
#0D1F3D
Tritanopia (blue-blind)
#291B26
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c133e;
/* rgb */ color: rgb(44, 19, 62);
/* oklch */ color: oklch(24.8% 0.081 308.4);
Tailwind
colors: {
  custom: {
    50: '#675273',
    500: '#2c133e',
    950: '#000000',
  },
}
SCSS
$custom: #2c133e;
$custom-light: #675273;
$custom-dark: #000000;
JSON
{
  "hex": "#2c133e",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 62
  },
  "hsl": {
    "h": 274.884,
    "s": 53.086,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24757,
    "c": 0.0812,
    "h": 308.4
  },
  "luminance": 0.01349
}

Semantic roles & 50–950 ramp

primary
#2C133E
secondary
#517736
accent
#DC4B88
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C133E

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

Preview Lab → · Contrast checker → · Palette generator →

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