#2C134F#2C134F

#2C134F is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.104 H 297.9°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#2C134F
RGBrgb(44, 19, 79)
HSLhsl(265, 61%, 19%)
HSVhsv(265, 76%, 31%)
CMYKcmyk(44.3%, 75.9%, 0%, 69%)
CIE-LABlab(13.02, 27.15, -32.16)
CIE-LCHlch(13.02, 42.08, 310.17°)
OKLaboklab(26.22% 0.0486 -0.0918)
OKLCHoklch(26.22% 0.104 297.9)
XYZxyz(2.6825, 1.5657, 7.5565)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C134F #364F13
analogous
#13184F #2C134F #4A134F
triadic
#2C134F #4F2C13 #134F2C
tetradic
#2C134F #4F1318 #364F13 #134F4A
square
#2C134F #4F1318 #364F13 #134F4A
split-complementary
#2C134F #4F4A13 #184F13
monochromatic
#0E0619 #11071E #2C134F #471F80 #632BB2

Accessibility & contrast

On white

15.99
#2C134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2C134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C134F
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C134F#FFFFFF#000000##FFFFFF
##2C134F1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#00214E
Tritanopia (blue-blind)
#23222F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2c134f;
/* rgb */ color: rgb(44, 19, 79);
/* oklch */ color: oklch(26.2% 0.104 297.9);
Tailwind
colors: {
  custom: {
    50: '#695381',
    500: '#2c134f',
    950: '#000000',
  },
}
SCSS
$custom: #2c134f;
$custom-light: #695381;
$custom-dark: #000000;
JSON
{
  "hex": "#2c134f",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 265,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26215,
    "c": 0.10386,
    "h": 297.9
  },
  "luminance": 0.01566
}

Semantic roles & 50–950 ramp

primary
#2C134F
secondary
#668836
accent
#E443A1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2C134F

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

Preview Lab → · Contrast checker → · Palette generator →

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