#2C1059#2C1059

#2C1059 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.8% C 0.120 H 294.1°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#2C1059
RGBrgb(44, 16, 89)
HSLhsl(263, 70%, 21%)
HSVhsv(263, 82%, 35%)
CMYKcmyk(50.6%, 82%, 0%, 65.1%)
CIE-LABlab(13.39, 31.78, -38.35)
CIE-LCHlch(13.39, 49.80, 309.65°)
OKLaboklab(26.78% 0.0492 -0.11)
OKLCHoklch(26.78% 0.12 294.1)
XYZxyz(3.0267, 1.6272, 9.6039)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1059 #3D5910
analogous
#101859 #2C1059 #501059
triadic
#2C1059 #592C10 #10592C
tetradic
#2C1059 #591018 #3D5910 #105950
square
#2C1059 #591018 #3D5910 #105950
split-complementary
#2C1059 #595010 #185910
monochromatic
#0D051A #120725 #2C1059 #46198D #5F23C1

Accessibility & contrast

On white

15.84
#2C1059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2C1059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1059
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1059#FFFFFF#000000##FFFFFF
##2C10591.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235B
Deuteranopia (green-blind)
#002158
Tritanopia (blue-blind)
#1F2434
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2c1059;
/* rgb */ color: rgb(44, 16, 89);
/* oklch */ color: oklch(26.8% 0.120 294.1);
Tailwind
colors: {
  custom: {
    50: '#6b5289',
    500: '#2c1059',
    950: '#000000',
  },
}
SCSS
$custom: #2c1059;
$custom-light: #6b5289;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1059",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 263.014,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26776,
    "c": 0.12047,
    "h": 294.1
  },
  "luminance": 0.01627
}

Semantic roles & 50–950 ramp

primary
#2C1059
secondary
#6E9233
accent
#EC3BA8
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2C1059

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

Preview Lab → · Contrast checker → · Palette generator →

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