#241180#241180

#241180 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.5% C 0.168 H 277.4°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#241180
RGBrgb(36, 17, 128)
HSLhsl(250, 77%, 28%)
HSVhsv(250, 87%, 50%)
CMYKcmyk(71.9%, 86.7%, 0%, 49.8%)
CIE-LABlab(17.15, 42.22, -57.69)
CIE-LCHlch(17.15, 71.48, 306.20°)
OKLaboklab(30.49% 0.0217 -0.1666)
OKLCHoklch(30.49% 0.168 277.4)
XYZxyz(4.8230, 2.3340, 20.6142)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241180 #6D8011
analogous
#113580 #241180 #5B1180
triadic
#241180 #802411 #118024
tetradic
#241180 #801135 #6D8011 #11805B
square
#241180 #801135 #6D8011 #11805B
split-complementary
#241180 #805B11 #358011
monochromatic
#08041B #150A4A #241180 #3318B6 #4929E3

Accessibility & contrast

On white

14.32
#241180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#241180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241180
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241180#FFFFFF#000000##FFFFFF
##2411801.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #241180;
/* rgb */ color: rgb(36, 17, 128);
/* oklch */ color: oklch(30.5% 0.168 277.4);
Tailwind
colors: {
  custom: {
    50: '#6f54a6',
    500: '#241180',
    950: '#000000',
  },
}
SCSS
$custom: #241180;
$custom-light: #6f54a6;
$custom-dark: #000000;
JSON
{
  "hex": "#241180",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 128
  },
  "hsl": {
    "h": 250.27,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3049,
    "c": 0.16805,
    "h": 277.4
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#241180
secondary
#A0B637
accent
#F335D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #241180

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

Preview Lab → · Contrast checker → · Palette generator →

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