#230F4D#230F4D

#230F4D is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.106 H 291.1°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#230F4D
RGBrgb(35, 15, 77)
HSLhsl(259, 67%, 18%)
HSVhsv(259, 81%, 30%)
CMYKcmyk(54.5%, 80.5%, 0%, 69.8%)
CIE-LABlab(10.81, 27.00, -34.43)
CIE-LCHlch(10.81, 43.75, 308.10°)
OKLaboklab(24.32% 0.0382 -0.0988)
OKLCHoklch(24.32% 0.106 291.1)
XYZxyz(2.2031, 1.2347, 7.1420)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F4D #394D0F
analogous
#0F1A4D #230F4D #420F4D
triadic
#230F4D #4D230F #0F4D23
tetradic
#230F4D #4D0F1A #394D0F #0F4D42
square
#230F4D #4D0F1A #394D0F #0F4D42
split-complementary
#230F4D #4D420F #1A4D0F
monochromatic
#0C051A #0C051A #230F4D #3A1980 #5223B3

Accessibility & contrast

On white

16.84
#230F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#230F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F4D
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F4D#FFFFFF#000000##FFFFFF
##230F4D1.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4F
Deuteranopia (green-blind)
#001C4C
Tritanopia (blue-blind)
#15202D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #230f4d;
/* rgb */ color: rgb(35, 15, 77);
/* oklch */ color: oklch(24.3% 0.106 291.1);
Tailwind
colors: {
  custom: {
    50: '#634f7f',
    500: '#230f4d',
    950: '#000000',
  },
}
SCSS
$custom: #230f4d;
$custom-light: #634f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#230f4d",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 259.355,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24315,
    "c": 0.10597,
    "h": 291.1
  },
  "luminance": 0.01235
}

Semantic roles & 50–950 ramp

primary
#230F4D
secondary
#6B8731
accent
#EA3EB3
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #230F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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