#241070#241070

#241070 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.5% C 0.150 H 280.7°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#241070
RGBrgb(36, 16, 112)
HSLhsl(253, 75%, 25%)
HSVhsv(253, 86%, 44%)
CMYKcmyk(67.9%, 85.7%, 0%, 56.1%)
CIE-LABlab(15.04, 37.74, -50.90)
CIE-LCHlch(15.04, 63.37, 306.55°)
OKLaboklab(28.47% 0.0278 -0.1469)
OKLCHoklch(28.47% 0.15 280.7)
XYZxyz(3.8365, 1.9152, 15.4936)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241070 #5C7010
analogous
#102C70 #241070 #541070
triadic
#241070 #702410 #107024
tetradic
#241070 #70102C #5C7010 #107054
square
#241070 #70102C #5C7010 #107054
split-complementary
#241070 #705410 #2C7010
monochromatic
#09041B #13083A #241070 #3518A6 #461FDB

Accessibility & contrast

On white

15.18
#241070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#241070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241070
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241070#FFFFFF#000000##FFFFFF
##2410701.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002973
Deuteranopia (green-blind)
#00226E
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #241070;
/* rgb */ color: rgb(36, 16, 112);
/* oklch */ color: oklch(28.5% 0.150 280.7);
Tailwind
colors: {
  custom: {
    50: '#6b529a',
    500: '#241070',
    950: '#000000',
  },
}
SCSS
$custom: #241070;
$custom-light: #6b529a;
$custom-dark: #000000;
JSON
{
  "hex": "#241070",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 252.5,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28465,
    "c": 0.14952,
    "h": 280.7
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#241070
secondary
#90A834
accent
#F236CB
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020E
muted
#7A787E

Preview Lab

Preview with #241070

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

Preview Lab → · Contrast checker → · Palette generator →

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