#241156#241156

#241156 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.7% C 0.115 H 287.9°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#241156
RGBrgb(36, 17, 86)
HSLhsl(257, 67%, 20%)
HSVhsv(257, 80%, 34%)
CMYKcmyk(58.1%, 80.2%, 0%, 66.3%)
CIE-LABlab(12.27, 28.93, -38.20)
CIE-LCHlch(12.27, 47.92, 307.14°)
OKLaboklab(25.66% 0.0355 -0.1098)
OKLCHoklch(25.66% 0.115 287.9)
XYZxyz(2.6072, 1.4477, 8.9444)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241156 #435611
analogous
#112056 #241156 #461156
triadic
#241156 #562411 #115624
tetradic
#241156 #561120 #435611 #115646
square
#241156 #561120 #435611 #115646
split-complementary
#241156 #564611 #205611
monochromatic
#0B051A #0F0723 #241156 #391B89 #4F25BC

Accessibility & contrast

On white

16.28
#241156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#241156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241156
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241156#FFFFFF#000000##FFFFFF
##2411561.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002258
Deuteranopia (green-blind)
#001E55
Tritanopia (blue-blind)
#102432
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #241156;
/* rgb */ color: rgb(36, 17, 86);
/* oklch */ color: oklch(25.7% 0.115 287.9);
Tailwind
colors: {
  custom: {
    50: '#655186',
    500: '#241156',
    950: '#000000',
  },
}
SCSS
$custom: #241156;
$custom-light: #655186;
$custom-dark: #000000;
JSON
{
  "hex": "#241156",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 86
  },
  "hsl": {
    "h": 256.522,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2566,
    "c": 0.11545,
    "h": 287.9
  },
  "luminance": 0.01448
}

Semantic roles & 50–950 ramp

primary
#241156
secondary
#768F34
accent
#EA3EBB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #241156

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

Preview Lab → · Contrast checker → · Palette generator →

#241156 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva