#250F4C#250F4C

#250F4C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.105 H 293.6°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#250F4C
RGBrgb(37, 15, 76)
HSLhsl(262, 67%, 18%)
HSVhsv(262, 80%, 30%)
CMYKcmyk(51.3%, 80.3%, 0%, 70.2%)
CIE-LABlab(10.97, 27.06, -33.47)
CIE-LCHlch(10.97, 43.04, 308.96°)
OKLaboklab(24.46% 0.0419 -0.0959)
OKLCHoklch(24.46% 0.105 293.6)
XYZxyz(2.2379, 1.2567, 6.9607)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F4C #364C0F
analogous
#0F184C #250F4C #430F4C
triadic
#250F4C #4C250F #0F4C25
tetradic
#250F4C #4C0F18 #364C0F #0F4C43
square
#250F4C #4C0F18 #364C0F #0F4C43
split-complementary
#250F4C #4C430F #184C0F
monochromatic
#0C051A #0C051A #250F4C #3E197F #5723B2

Accessibility & contrast

On white

16.78
#250F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #250F4C
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F4C#FFFFFF#000000##FFFFFF
##250F4C1.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4E
Deuteranopia (green-blind)
#001C4B
Tritanopia (blue-blind)
#191F2C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #250f4c;
/* rgb */ color: rgb(37, 15, 76);
/* oklch */ color: oklch(24.5% 0.105 293.6);
Tailwind
colors: {
  custom: {
    50: '#644f7f',
    500: '#250f4c',
    950: '#000000',
  },
}
SCSS
$custom: #250f4c;
$custom-light: #644f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#250f4c",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 261.639,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24456,
    "c": 0.1047,
    "h": 293.6
  },
  "luminance": 0.01257
}

Semantic roles & 50–950 ramp

primary
#250F4C
secondary
#678631
accent
#EA3EAC
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #250F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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