#230D49#230D49

#230D49 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.103 H 293.6°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#230D49
RGBrgb(35, 13, 73)
HSLhsl(262, 70%, 17%)
HSVhsv(262, 82%, 29%)
CMYKcmyk(52.1%, 82.2%, 0%, 71.4%)
CIE-LABlab(10.00, 26.87, -32.98)
CIE-LCHlch(10.00, 42.54, 309.16°)
OKLaboklab(23.62% 0.0414 -0.0946)
OKLCHoklch(23.62% 0.103 293.6)
XYZxyz(2.0393, 1.1261, 6.4120)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D49 #33490D
analogous
#0D1549 #230D49 #410D49
triadic
#230D49 #49230D #0D4923
tetradic
#230D49 #490D15 #33490D #0D4941
square
#230D49 #490D15 #33490D #0D4941
split-complementary
#230D49 #49410D #15490D
monochromatic
#0C051A #0C051A #230D49 #3C167D #5520B1

Accessibility & contrast

On white

17.14
#230D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#230D49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230D49
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D49#FFFFFF#000000##FFFFFF
##230D491.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4B
Deuteranopia (green-blind)
#001A48
Tritanopia (blue-blind)
#181D2A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #230d49;
/* rgb */ color: rgb(35, 13, 73);
/* oklch */ color: oklch(23.6% 0.103 293.6);
Tailwind
colors: {
  custom: {
    50: '#634e7c',
    500: '#230d49',
    950: '#000000',
  },
}
SCSS
$custom: #230d49;
$custom-light: #634e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#230d49",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 73
  },
  "hsl": {
    "h": 262,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23618,
    "c": 0.10321,
    "h": 293.6
  },
  "luminance": 0.01126
}

Semantic roles & 50–950 ramp

primary
#230D49
secondary
#64842D
accent
#ED3BAC
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #230D49

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

Preview Lab → · Contrast checker → · Palette generator →

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