#250C55#250C55

#250C55 is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.120 H 290.5°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#250C55
RGBrgb(37, 12, 85)
HSLhsl(261, 75%, 19%)
HSVhsv(261, 86%, 33%)
CMYKcmyk(56.5%, 85.9%, 0%, 66.7%)
CIE-LABlab(11.36, 31.43, -39.01)
CIE-LCHlch(11.36, 50.10, 308.86°)
OKLaboklab(25.02% 0.0419 -0.1121)
OKLCHoklch(25.02% 0.12 290.5)
XYZxyz(2.5336, 1.3120, 8.7123)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250C55 #3C550C
analogous
#0C1855 #250C55 #4A0C55
triadic
#250C55 #55250C #0C5525
tetradic
#250C55 #550C18 #3C550C #0C554A
square
#250C55 #550C18 #3C550C #0C554A
split-complementary
#250C55 #554A0C #18550C
monochromatic
#0C041B #0E041F #250C55 #3C148B #541BC0

Accessibility & contrast

On white

16.63
#250C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#250C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250C55
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250C55#FFFFFF#000000##FFFFFF
##250C551.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F57
Deuteranopia (green-blind)
#001D54
Tritanopia (blue-blind)
#132131
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #250c55;
/* rgb */ color: rgb(37, 12, 85);
/* oklch */ color: oklch(25.0% 0.120 290.5);
Tailwind
colors: {
  custom: {
    50: '#664e86',
    500: '#250c55',
    950: '#000000',
  },
}
SCSS
$custom: #250c55;
$custom-light: #664e86;
$custom-dark: #000000;
JSON
{
  "hex": "#250c55",
  "rgb": {
    "r": 37,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 260.548,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25018,
    "c": 0.11969,
    "h": 290.5
  },
  "luminance": 0.01312
}

Semantic roles & 50–950 ramp

primary
#250C55
secondary
#6E902D
accent
#F236B2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #250C55

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

Preview Lab → · Contrast checker → · Palette generator →

#250C55 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva