#2C0F50#2C0F50

#2C0F50 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.111 H 298.5°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#2C0F50
RGBrgb(44, 15, 80)
HSLhsl(267, 68%, 19%)
HSVhsv(267, 81%, 31%)
CMYKcmyk(45%, 81.3%, 0%, 68.6%)
CIE-LABlab(12.33, 29.65, -33.97)
CIE-LCHlch(12.33, 45.09, 311.11°)
OKLaboklab(25.75% 0.0528 -0.0971)
OKLCHoklch(25.75% 0.111 298.5)
XYZxyz(2.6571, 1.4563, 7.7290)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F50 #33500F
analogous
#0F1250 #2C0F50 #4C0F50
triadic
#2C0F50 #502C0F #0F502C
tetradic
#2C0F50 #500F12 #33500F #0F504C
square
#2C0F50 #500F12 #33500F #0F504C
split-complementary
#2C0F50 #504C0F #12500F
monochromatic
#0E051A #10051C #2C0F50 #481984 #6522B7

Accessibility & contrast

On white

16.26
#2C0F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2C0F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0F50
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F50#FFFFFF#000000##FFFFFF
##2C0F501.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002052
Deuteranopia (green-blind)
#00204F
Tritanopia (blue-blind)
#23202E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c0f50;
/* rgb */ color: rgb(44, 15, 80);
/* oklch */ color: oklch(25.8% 0.111 298.5);
Tailwind
colors: {
  custom: {
    50: '#695182',
    500: '#2c0f50',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f50;
$custom-light: #695182;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f50",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 80
  },
  "hsl": {
    "h": 266.769,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25752,
    "c": 0.11054,
    "h": 298.5
  },
  "luminance": 0.01456
}

Semantic roles & 50–950 ramp

primary
#2C0F50
secondary
#628A31
accent
#EB3D9D
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2C0F50

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

Preview Lab → · Contrast checker → · Palette generator →

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