#2C1065#2C1065

#2C1065 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 28.0% C 0.135 H 289.5°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#2C1065
RGBrgb(44, 16, 101)
HSLhsl(260, 73%, 23%)
HSVhsv(260, 84%, 40%)
CMYKcmyk(56.4%, 84.2%, 0%, 60.4%)
CIE-LABlab(14.65, 35.35, -44.29)
CIE-LCHlch(14.65, 56.67, 308.60°)
OKLaboklab(28.04% 0.0452 -0.1274)
OKLCHoklch(28.04% 0.135 289.5)
XYZxyz(3.5723, 1.8455, 12.4774)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1065 #496510
analogous
#101E65 #2C1065 #561065
triadic
#2C1065 #652C10 #10652C
tetradic
#2C1065 #65101E #496510 #106556
square
#2C1065 #65101E #496510 #106556
split-complementary
#2C1065 #655610 #1E6510
monochromatic
#0C041A #150830 #2C1065 #43189A #5A21CF

Accessibility & contrast

On white

15.34
#2C1065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#2C1065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1065
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1065#FFFFFF#000000##FFFFFF
##2C10651.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002767
Deuteranopia (green-blind)
#002363
Tritanopia (blue-blind)
#16293B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2c1065;
/* rgb */ color: rgb(44, 16, 101);
/* oklch */ color: oklch(28.0% 0.135 289.5);
Tailwind
colors: {
  custom: {
    50: '#6d5292',
    500: '#2c1065',
    950: '#000000',
  },
}
SCSS
$custom: #2c1065;
$custom-light: #6d5292;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1065",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 259.765,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28037,
    "c": 0.13516,
    "h": 289.5
  },
  "luminance": 0.01846
}

Semantic roles & 50–950 ramp

primary
#2C1065
secondary
#7B9D33
accent
#EF38B3
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#08020D
muted
#7A787E

Preview Lab

Preview with #2C1065

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

Preview Lab → · Contrast checker → · Palette generator →

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