#25106D#25106D

#25106D is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.146 H 282.1°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#25106D
RGBrgb(37, 16, 109)
HSLhsl(254, 74%, 25%)
HSVhsv(254, 85%, 43%)
CMYKcmyk(66.1%, 85.3%, 0%, 57.3%)
CIE-LABlab(14.78, 36.91, -49.37)
CIE-LCHlch(14.78, 61.65, 306.78°)
OKLaboklab(28.21% 0.0305 -0.1424)
OKLCHoklch(28.21% 0.146 282.1)
XYZxyz(3.7077, 1.8678, 14.6302)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25106D #586D10
analogous
#102A6D #25106D #54106D
triadic
#25106D #6D2510 #106D25
tetradic
#25106D #6D102A #586D10 #106D54
square
#25106D #6D102A #586D10 #106D54
split-complementary
#25106D #6D5410 #2A6D10
monochromatic
#09041B #130838 #25106D #3718A2 #4920D8

Accessibility & contrast

On white

15.29
#25106D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#25106D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25106D
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25106D#FFFFFF#000000##FFFFFF
##25106D1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002870
Deuteranopia (green-blind)
#00226B
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #25106d;
/* rgb */ color: rgb(37, 16, 109);
/* oklch */ color: oklch(28.2% 0.146 282.1);
Tailwind
colors: {
  custom: {
    50: '#6b5298',
    500: '#25106d',
    950: '#000000',
  },
}
SCSS
$custom: #25106d;
$custom-light: #6b5298;
$custom-dark: #000000;
JSON
{
  "hex": "#25106d",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 109
  },
  "hsl": {
    "h": 253.548,
    "s": 74.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28205,
    "c": 0.14566,
    "h": 282.1
  },
  "luminance": 0.01868
}

Semantic roles & 50–950 ramp

primary
#25106D
secondary
#8BA534
accent
#F137C7
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #25106D

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

Preview Lab → · Contrast checker → · Palette generator →

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