#230D56#230D56

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

Color values

HEX#230D56
RGBrgb(35, 13, 86)
HSLhsl(258, 74%, 19%)
HSVhsv(258, 85%, 34%)
CMYKcmyk(59.3%, 84.9%, 0%, 66.3%)
CIE-LABlab(11.39, 30.95, -39.65)
CIE-LCHlch(11.39, 50.29, 307.97°)
OKLaboklab(25.02% 0.0372 -0.1141)
OKLCHoklch(25.02% 0.12 288.1)
XYZxyz(2.5163, 1.3169, 8.9239)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D56 #40560D
analogous
#0D1C56 #230D56 #480D56
triadic
#230D56 #56230D #0D5623
tetradic
#230D56 #560D1C #40560D #0D5648
square
#230D56 #560D1C #40560D #0D5648
split-complementary
#230D56 #56480D #1C560D
monochromatic
#0B041B #0D0521 #230D56 #39158B #4E1DC0

Accessibility & contrast

On white

16.62
#230D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#230D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230D56
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D56#FFFFFF#000000##FFFFFF
##230D561.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001C55
Tritanopia (blue-blind)
#0D2231
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #230d56;
/* rgb */ color: rgb(35, 13, 86);
/* oklch */ color: oklch(25.0% 0.120 288.1);
Tailwind
colors: {
  custom: {
    50: '#654f86',
    500: '#230d56',
    950: '#000000',
  },
}
SCSS
$custom: #230d56;
$custom-light: #654f86;
$custom-dark: #000000;
JSON
{
  "hex": "#230d56",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 258.082,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25017,
    "c": 0.11999,
    "h": 288.1
  },
  "luminance": 0.01317
}

Semantic roles & 50–950 ramp

primary
#230D56
secondary
#73912E
accent
#F037B9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #230D56

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

Preview Lab → · Contrast checker → · Palette generator →

#230D56 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva