#25195D#25195D

#25195D is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.7% C 0.115 H 284.1°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#25195D
RGBrgb(37, 25, 93)
HSLhsl(251, 58%, 23%)
HSVhsv(251, 73%, 36%)
CMYKcmyk(60.2%, 73.1%, 0%, 63.5%)
CIE-LABlab(14.84, 26.59, -38.70)
CIE-LCHlch(14.84, 46.96, 304.49°)
OKLaboklab(27.73% 0.028 -0.1113)
OKLCHoklch(27.73% 0.115 284.1)
XYZxyz(3.0858, 1.8787, 10.5538)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25195D #515D19
analogous
#192F5D #25195D #47195D
triadic
#25195D #5D2519 #195D25
tetradic
#25195D #5D192F #515D19 #195D47
square
#25195D #5D192F #515D19 #195D47
split-complementary
#25195D #5D4719 #2F5D19
monochromatic
#0A0618 #120C2D #25195D #38268D #4B33BD

Accessibility & contrast

On white

15.26
#25195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#25195D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25195D
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25195D#FFFFFF#000000##FFFFFF
##25195D1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00235C
Tritanopia (blue-blind)
#0A2B38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #25195d;
/* rgb */ color: rgb(37, 25, 93);
/* oklch */ color: oklch(27.7% 0.115 284.1);
Tailwind
colors: {
  custom: {
    50: '#67578c',
    500: '#25195d',
    950: '#000000',
  },
}
SCSS
$custom: #25195d;
$custom-light: #67578c;
$custom-dark: #000000;
JSON
{
  "hex": "#25195d",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 250.588,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27729,
    "c": 0.11479,
    "h": 284.1
  },
  "luminance": 0.01879
}

Semantic roles & 50–950 ramp

primary
#25195D
secondary
#84933F
accent
#E147C6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #25195D

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

Preview Lab → · Contrast checker → · Palette generator →

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