#261042#261042

#261042 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.090 H 299.7°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#261042
RGBrgb(38, 16, 66)
HSLhsl(266, 61%, 16%)
HSVhsv(266, 76%, 26%)
CMYKcmyk(42.4%, 75.8%, 0%, 74.1%)
CIE-LABlab(10.38, 23.59, -27.44)
CIE-LCHlch(10.38, 36.18, 310.69°)
OKLaboklab(23.77% 0.0446 -0.0782)
OKLCHoklch(23.77% 0.09 299.7)
XYZxyz(1.9677, 1.1760, 5.2765)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261042 #2C4210
analogous
#101342 #261042 #3F1042
triadic
#261042 #422610 #104226
tetradic
#261042 #421013 #2C4210 #10423F
square
#261042 #421013 #2C4210 #10423F
split-complementary
#261042 #423F10 #134210
monochromatic
#0E0619 #0E0619 #261042 #421C73 #5F28A5

Accessibility & contrast

On white

17.00
#261042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#261042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261042
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261042#FFFFFF#000000##FFFFFF
##2610421.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C44
Deuteranopia (green-blind)
#001C41
Tritanopia (blue-blind)
#201C27
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #261042;
/* rgb */ color: rgb(38, 16, 66);
/* oklch */ color: oklch(23.8% 0.090 299.7);
Tailwind
colors: {
  custom: {
    50: '#635077',
    500: '#261042',
    950: '#000000',
  },
}
SCSS
$custom: #261042;
$custom-light: #635077;
$custom-dark: #000000;
JSON
{
  "hex": "#261042",
  "rgb": {
    "r": 38,
    "g": 16,
    "b": 66
  },
  "hsl": {
    "h": 266.4,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23774,
    "c": 0.08997,
    "h": 299.7
  },
  "luminance": 0.01176
}

Semantic roles & 50–950 ramp

primary
#261042
secondary
#5B7C32
accent
#E4449E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050208
muted
#7A787B

Preview Lab

Preview with #261042

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

Preview Lab → · Contrast checker → · Palette generator →

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