#25165D#25165D

#25165D is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.2% C 0.119 H 285.1°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#25165D
RGBrgb(37, 22, 93)
HSLhsl(253, 62%, 23%)
HSVhsv(253, 76%, 36%)
CMYKcmyk(60.2%, 76.3%, 0%, 63.5%)
CIE-LABlab(14.16, 28.46, -39.82)
CIE-LCHlch(14.16, 48.94, 305.56°)
OKLaboklab(27.24% 0.0308 -0.1146)
OKLCHoklch(27.24% 0.119 285.1)
XYZxyz(3.0250, 1.7573, 10.5336)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25165D #4E5D16
analogous
#162B5D #25165D #48165D
triadic
#25165D #5D2516 #165D25
tetradic
#25165D #5D162B #4E5D16 #165D48
square
#25165D #5D162B #4E5D16 #165D48
split-complementary
#25165D #5D4816 #2B5D16
monochromatic
#0A0619 #110A2C #25165D #39228E #4C2DC0

Accessibility & contrast

On white

15.54
#25165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#25165D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25165D
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25165D#FFFFFF#000000##FFFFFF
##25165D1.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00225C
Tritanopia (blue-blind)
#0A2938
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #25165d;
/* rgb */ color: rgb(37, 22, 93);
/* oklch */ color: oklch(27.2% 0.119 285.1);
Tailwind
colors: {
  custom: {
    50: '#67558c',
    500: '#25165d',
    950: '#000000',
  },
}
SCSS
$custom: #25165d;
$custom-light: #67558c;
$custom-dark: #000000;
JSON
{
  "hex": "#25165d",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 252.676,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27243,
    "c": 0.11866,
    "h": 285.1
  },
  "luminance": 0.01757
}

Semantic roles & 50–950 ramp

primary
#25165D
secondary
#81943B
accent
#E543C3
background
#F6F5F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #25165D

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

Preview Lab → · Contrast checker → · Palette generator →

#25165D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva