#2C0C53#2C0C53

#2C0C53 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.7% C 0.118 H 297.7°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#2C0C53
RGBrgb(44, 12, 83)
HSLhsl(267, 75%, 19%)
HSVhsv(267, 86%, 33%)
CMYKcmyk(47%, 85.5%, 0%, 67.5%)
CIE-LABlab(12.11, 31.98, -36.38)
CIE-LCHlch(12.11, 48.44, 311.32°)
OKLaboklab(25.69% 0.0548 -0.1042)
OKLCHoklch(25.69% 0.118 297.7)
XYZxyz(2.7311, 1.4229, 8.3127)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0C53 #33530C
analogous
#0C0F53 #2C0C53 #4F0C53
triadic
#2C0C53 #532C0C #0C532C
tetradic
#2C0C53 #530C0F #33530C #0C534F
square
#2C0C53 #530C0F #33530C #0C534F
split-complementary
#2C0C53 #534F0C #0F530C
monochromatic
#0E041B #10041E #2C0C53 #481488 #651BBE

Accessibility & contrast

On white

16.35
#2C0C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2C0C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0C53
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0C53#FFFFFF#000000##FFFFFF
##2C0C531.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002055
Deuteranopia (green-blind)
#001F52
Tritanopia (blue-blind)
#22202F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c0c53;
/* rgb */ color: rgb(44, 12, 83);
/* oklch */ color: oklch(25.7% 0.118 297.7);
Tailwind
colors: {
  custom: {
    50: '#6a4f84',
    500: '#2c0c53',
    950: '#000000',
  },
}
SCSS
$custom: #2c0c53;
$custom-light: #6a4f84;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0c53",
  "rgb": {
    "r": 44,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 267.042,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25691,
    "c": 0.11769,
    "h": 297.7
  },
  "luminance": 0.01423
}

Semantic roles & 50–950 ramp

primary
#2C0C53
secondary
#628E2D
accent
#F1369D
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2C0C53

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

Preview Lab → · Contrast checker → · Palette generator →

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