#230F45#230F45

#230F45 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.095 H 295.0°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#230F45
RGBrgb(35, 15, 69)
HSLhsl(262, 64%, 16%)
HSVhsv(262, 78%, 27%)
CMYKcmyk(49.3%, 78.3%, 0%, 72.9%)
CIE-LABlab(10.02, 24.44, -30.15)
CIE-LCHlch(10.02, 38.81, 309.03°)
OKLaboklab(23.51% 0.0402 -0.0863)
OKLCHoklch(23.51% 0.095 295)
XYZxyz(1.9378, 1.1286, 5.7448)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F45 #31450F
analogous
#0F1645 #230F45 #3E0F45
triadic
#230F45 #45230F #0F4523
tetradic
#230F45 #450F16 #31450F #0F453E
square
#230F45 #450F16 #31450F #0F453E
split-complementary
#230F45 #453E0F #16450F
monochromatic
#0D0519 #0D0519 #230F45 #3D1A77 #5625AA

Accessibility & contrast

On white

17.13
#230F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230F45
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F45#FFFFFF#000000##FFFFFF
##230F451.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C47
Deuteranopia (green-blind)
#001B44
Tritanopia (blue-blind)
#1A1C28
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #230f45;
/* rgb */ color: rgb(35, 15, 69);
/* oklch */ color: oklch(23.5% 0.095 295.0);
Tailwind
colors: {
  custom: {
    50: '#624f79',
    500: '#230f45',
    950: '#000000',
  },
}
SCSS
$custom: #230f45;
$custom-light: #624f79;
$custom-dark: #000000;
JSON
{
  "hex": "#230f45",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 262.222,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23509,
    "c": 0.09516,
    "h": 295
  },
  "luminance": 0.01129
}

Semantic roles & 50–950 ramp

primary
#230F45
secondary
#627F30
accent
#E741AA
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050209
muted
#7A787B

Preview Lab

Preview with #230F45

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

Preview Lab → · Contrast checker → · Palette generator →

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