#260945#260945

#260945 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.1% C 0.103 H 300.1°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#260945
RGBrgb(38, 9, 69)
HSLhsl(269, 77%, 15%)
HSVhsv(269, 87%, 27%)
CMYKcmyk(44.9%, 87%, 0%, 72.9%)
CIE-LABlab(9.30, 28.33, -31.31)
CIE-LCHlch(9.30, 42.23, 312.13°)
OKLaboklab(23.1% 0.0518 -0.0895)
OKLCHoklch(23.1% 0.103 300.1)
XYZxyz(1.9709, 1.0371, 5.7254)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260945 #284509
analogous
#090A45 #260945 #440945
triadic
#260945 #452609 #094526
tetradic
#260945 #45090A #284509 #094544
square
#260945 #45090A #284509 #094544
split-complementary
#260945 #454409 #0A4509
monochromatic
#0F041B #0F041B #260945 #44107B #6217B1

Accessibility & contrast

On white

17.39
#260945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#260945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260945
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260945#FFFFFF#000000##FFFFFF
##2609451.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A47
Deuteranopia (green-blind)
#001A44
Tritanopia (blue-blind)
#1F1927
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #260945;
/* rgb */ color: rgb(38, 9, 69);
/* oklch */ color: oklch(23.1% 0.103 300.1);
Tailwind
colors: {
  custom: {
    50: '#644c79',
    500: '#260945',
    950: '#000000',
  },
}
SCSS
$custom: #260945;
$custom-light: #644c79;
$custom-dark: #000000;
JSON
{
  "hex": "#260945",
  "rgb": {
    "r": 38,
    "g": 9,
    "b": 69
  },
  "hsl": {
    "h": 269,
    "s": 76.923,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23095,
    "c": 0.10344,
    "h": 300.1
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#260945
secondary
#568327
accent
#F33497
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #260945

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

Preview Lab → · Contrast checker → · Palette generator →

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