#2C133F#2C133F

#2C133F is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.8% C 0.083 H 307.6°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#2C133F
RGBrgb(44, 19, 63)
HSLhsl(274, 54%, 16%)
HSVhsv(274, 70%, 25%)
CMYKcmyk(30.2%, 69.8%, 0%, 75.3%)
CIE-LABlab(11.69, 22.46, -23.16)
CIE-LCHlch(11.69, 32.26, 314.13°)
OKLaboklab(24.84% 0.0504 -0.0654)
OKLCHoklch(24.84% 0.083 307.6)
XYZxyz(2.1686, 1.3601, 4.8500)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C133F #263F13
analogous
#16133F #2C133F #3F133C
triadic
#2C133F #3F2C13 #133F2C
tetradic
#2C133F #3F1613 #263F13 #133C3F
square
#2C133F #3F1613 #263F13 #133C3F
split-complementary
#2C133F #3C3F13 #133F16
monochromatic
#100718 #100718 #2C133F #4D216E #6E2F9D

Accessibility & contrast

On white

16.51
#2C133F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C133F
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C133F#FFFFFF#000000##FFFFFF
##2C133F1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021E40
Deuteranopia (green-blind)
#0C1F3E
Tritanopia (blue-blind)
#291C26
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c133f;
/* rgb */ color: rgb(44, 19, 63);
/* oklch */ color: oklch(24.8% 0.083 307.6);
Tailwind
colors: {
  custom: {
    50: '#675274',
    500: '#2c133f',
    950: '#000000',
  },
}
SCSS
$custom: #2c133f;
$custom-light: #675274;
$custom-dark: #000000;
JSON
{
  "hex": "#2c133f",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 63
  },
  "hsl": {
    "h": 274.091,
    "s": 53.659,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24836,
    "c": 0.08254,
    "h": 307.6
  },
  "luminance": 0.0136
}

Semantic roles & 50–950 ramp

primary
#2C133F
secondary
#527836
accent
#DD4B8A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C133F

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

Preview Lab → · Contrast checker → · Palette generator →

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