#241035#241035

#241035 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.071 H 306.4°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#241035
RGBrgb(36, 16, 53)
HSLhsl(272, 54%, 14%)
HSVhsv(272, 70%, 21%)
CMYKcmyk(32.1%, 69.8%, 0%, 79.2%)
CIE-LABlab(9.01, 19.12, -20.34)
CIE-LCHlch(9.01, 27.91, 313.23°)
OKLaboklab(22.38% 0.0423 -0.0574)
OKLCHoklch(22.38% 0.071 306.4)
XYZxyz(1.5553, 1.0027, 3.4791)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241035 #213510
analogous
#111035 #241035 #351033
triadic
#241035 #352410 #103524
tetradic
#241035 #351110 #213510 #103335
square
#241035 #351110 #213510 #103335
split-complementary
#241035 #333510 #103511
monochromatic
#100718 #100718 #241035 #441E64 #642C93

Accessibility & contrast

On white

17.49
#241035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#241035 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241035
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241035#FFFFFF#000000##FFFFFF
##2410351.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031936
Deuteranopia (green-blind)
#091A34
Tritanopia (blue-blind)
#211720
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #241035;
/* rgb */ color: rgb(36, 16, 53);
/* oklch */ color: oklch(22.4% 0.071 306.4);
Tailwind
colors: {
  custom: {
    50: '#604f6c',
    500: '#241035',
    950: '#000000',
  },
}
SCSS
$custom: #241035;
$custom-light: #604f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#241035",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 53
  },
  "hsl": {
    "h": 272.432,
    "s": 53.623,
    "l": 13.529
  },
  "oklch": {
    "l": 0.2238,
    "c": 0.07132,
    "h": 306.4
  },
  "luminance": 0.01003
}

Semantic roles & 50–950 ramp

primary
#241035
secondary
#4E6F32
accent
#DD4B8E
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050207
muted
#79787A

Preview Lab

Preview with #241035

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

Preview Lab → · Contrast checker → · Palette generator →

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