#250C51#250C51

#250C51 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.115 H 292.2°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#250C51
RGBrgb(37, 12, 81)
HSLhsl(262, 74%, 18%)
HSVhsv(262, 85%, 32%)
CMYKcmyk(54.3%, 85.2%, 0%, 68.2%)
CIE-LABlab(10.92, 30.21, -36.99)
CIE-LCHlch(10.92, 47.76, 309.24°)
OKLaboklab(24.58% 0.0433 -0.1062)
OKLCHoklch(24.58% 0.115 292.2)
XYZxyz(2.3792, 1.2503, 7.8989)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250C51 #38510C
analogous
#0C1551 #250C51 #470C51
triadic
#250C51 #51250C #0C5125
tetradic
#250C51 #510C15 #38510C #0C5147
square
#250C51 #510C15 #38510C #0C5147
split-complementary
#250C51 #51470C #15510C
monochromatic
#0C041B #0D041C #250C51 #3D1486 #561CBC

Accessibility & contrast

On white

16.80
#250C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#250C51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250C51
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250C51#FFFFFF#000000##FFFFFF
##250C511.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E53
Deuteranopia (green-blind)
#001C50
Tritanopia (blue-blind)
#16202E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #250c51;
/* rgb */ color: rgb(37, 12, 81);
/* oklch */ color: oklch(24.6% 0.115 292.2);
Tailwind
colors: {
  custom: {
    50: '#654e83',
    500: '#250c51',
    950: '#000000',
  },
}
SCSS
$custom: #250c51;
$custom-light: #654e83;
$custom-dark: #000000;
JSON
{
  "hex": "#250c51",
  "rgb": {
    "r": 37,
    "g": 12,
    "b": 81
  },
  "hsl": {
    "h": 261.739,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24582,
    "c": 0.11471,
    "h": 292.2
  },
  "luminance": 0.0125
}

Semantic roles & 50–950 ramp

primary
#250C51
secondary
#6A8C2C
accent
#F137AD
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #250C51

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

Preview Lab → · Contrast checker → · Palette generator →

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