#241237#241237

#241237 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.9% C 0.070 H 303.8°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#241237
RGBrgb(36, 18, 55)
HSLhsl(269, 51%, 14%)
HSVhsv(269, 67%, 22%)
CMYKcmyk(34.5%, 67.3%, 0%, 78.4%)
CIE-LABlab(9.67, 18.39, -20.74)
CIE-LCHlch(9.67, 27.72, 311.56°)
OKLaboklab(22.91% 0.0392 -0.0586)
OKLCHoklch(22.91% 0.07 303.8)
XYZxyz(1.6333, 1.0835, 3.7368)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241237 #253712
analogous
#121337 #241237 #371237
triadic
#241237 #372412 #123724
tetradic
#241237 #371213 #253712 #123737
square
#241237 #371213 #253712 #123737
split-complementary
#241237 #373712 #133712
monochromatic
#0F0817 #0F0817 #241237 #422165 #603093

Accessibility & contrast

On white

17.26
#241237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#241237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241237
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241237#FFFFFF#000000##FFFFFF
##2412371.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041A38
Deuteranopia (green-blind)
#0A1B36
Tritanopia (blue-blind)
#211922
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #241237;
/* rgb */ color: rgb(36, 18, 55);
/* oklch */ color: oklch(22.9% 0.070 303.8);
Tailwind
colors: {
  custom: {
    50: '#60506e',
    500: '#241237',
    950: '#000000',
  },
}
SCSS
$custom: #241237;
$custom-light: #60506e;
$custom-dark: #000000;
JSON
{
  "hex": "#241237",
  "rgb": {
    "r": 36,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 269.189,
    "s": 50.685,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22908,
    "c": 0.07047,
    "h": 303.8
  },
  "luminance": 0.01084
}

Semantic roles & 50–950 ramp

primary
#241237
secondary
#537035
accent
#DA4E96
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #241237

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

Preview Lab → · Contrast checker → · Palette generator →

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