#241157#241157

#241157 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.117 H 287.6°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#241157
RGBrgb(36, 17, 87)
HSLhsl(256, 67%, 20%)
HSVhsv(256, 80%, 34%)
CMYKcmyk(58.6%, 80.5%, 0%, 65.9%)
CIE-LABlab(12.38, 29.26, -38.70)
CIE-LCHlch(12.38, 48.52, 307.09°)
OKLaboklab(25.77% 0.0353 -0.1113)
OKLCHoklch(25.77% 0.117 287.6)
XYZxyz(2.6478, 1.4639, 9.1580)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241157 #445711
analogous
#112157 #241157 #471157
triadic
#241157 #572411 #115724
tetradic
#241157 #571121 #445711 #115747
square
#241157 #571121 #445711 #115747
split-complementary
#241157 #574711 #215711
monochromatic
#0B051A #0F0724 #241157 #391B8A #4E25BD

Accessibility & contrast

On white

16.24
#241157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241157
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241157#FFFFFF#000000##FFFFFF
##2411571.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002259
Deuteranopia (green-blind)
#001E56
Tritanopia (blue-blind)
#0F2433
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #241157;
/* rgb */ color: rgb(36, 17, 87);
/* oklch */ color: oklch(25.8% 0.117 287.6);
Tailwind
colors: {
  custom: {
    50: '#665187',
    500: '#241157',
    950: '#000000',
  },
}
SCSS
$custom: #241157;
$custom-light: #665187;
$custom-dark: #000000;
JSON
{
  "hex": "#241157",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 256.286,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25766,
    "c": 0.11677,
    "h": 287.6
  },
  "luminance": 0.01464
}

Semantic roles & 50–950 ramp

primary
#241157
secondary
#779034
accent
#EA3EBB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #241157

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

Preview Lab → · Contrast checker → · Palette generator →

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